fix: point postgres PGDATA at the actual mounted PVC for zipline and immich

This commit is contained in:
2026-08-02 12:55:18 +02:00
parent 37737670b5
commit 39f8a78306
2 changed files with 5 additions and 3 deletions
@@ -30,7 +30,7 @@ spec:
- containerPort: 5432
volumeMounts:
- name: immich-postgresql-immich
mountPath: /var/lib/postgresql/pgdata
mountPath: /var/lib/postgres
env:
- name: POSTGRES_PASSWORD
valueFrom:
@@ -47,6 +47,8 @@ spec:
secretKeyRef:
name: immich-secrets
key: db_name
- name: PGDATA
value: /var/lib/postgres/data
volumes:
- name: immich-postgresql-immich
persistentVolumeClaim:
@@ -30,7 +30,7 @@ spec:
- containerPort: 5432
volumeMounts:
- name: zipline-postgresql-database
mountPath: /var/lib/postgresql/volumes/data
mountPath: /var/lib/postgres
env:
- name: POSTGRES_PASSWORD
valueFrom:
@@ -48,7 +48,7 @@ spec:
name: zipline-secrets
key: db_name
- name: PGDATA
value: /var/lib/postgresql/volumes/pgdata
value: /var/lib/postgres/data
volumes:
- name: zipline-postgresql-database
persistentVolumeClaim: