summaryrefslogtreecommitdiff
path: root/f3s/anki-sync-server
diff options
context:
space:
mode:
Diffstat (limited to 'f3s/anki-sync-server')
-rw-r--r--f3s/anki-sync-server/helm-chart/templates/deployment.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/f3s/anki-sync-server/helm-chart/templates/deployment.yaml b/f3s/anki-sync-server/helm-chart/templates/deployment.yaml
index 9797824..d917b6e 100644
--- a/f3s/anki-sync-server/helm-chart/templates/deployment.yaml
+++ b/f3s/anki-sync-server/helm-chart/templates/deployment.yaml
@@ -39,6 +39,13 @@ spec:
image: registry.lan.buetow.org:30001/anki-sync-server:25.07.5b
ports:
- containerPort: 8080
+ livenessProbe:
+ exec:
+ command: ["test", "-f", "/anki_data/.nfs-sentinel"]
+ initialDelaySeconds: 30
+ periodSeconds: 30
+ failureThreshold: 3
+ timeoutSeconds: 5
env:
- name: SYNC_PORT
value: "8080"