summaryrefslogtreecommitdiff
path: root/f3s/immich
diff options
context:
space:
mode:
Diffstat (limited to 'f3s/immich')
-rw-r--r--f3s/immich/helm-chart/templates/postgres.yaml20
1 files changed, 20 insertions, 0 deletions
diff --git a/f3s/immich/helm-chart/templates/postgres.yaml b/f3s/immich/helm-chart/templates/postgres.yaml
index 0064dcd..2b49767 100644
--- a/f3s/immich/helm-chart/templates/postgres.yaml
+++ b/f3s/immich/helm-chart/templates/postgres.yaml
@@ -30,6 +30,26 @@ spec:
secretKeyRef:
name: immich-db-secret
key: password
+ livenessProbe:
+ exec:
+ command:
+ - /bin/sh
+ - -c
+ - pg_isready -U immich -d immich
+ initialDelaySeconds: 30
+ periodSeconds: 10
+ timeoutSeconds: 5
+ failureThreshold: 3
+ readinessProbe:
+ exec:
+ command:
+ - /bin/sh
+ - -c
+ - pg_isready -U immich -d immich
+ initialDelaySeconds: 10
+ periodSeconds: 5
+ timeoutSeconds: 3
+ failureThreshold: 3
volumeMounts:
- name: postgres-data
mountPath: /var/lib/postgresql/data