immich-postgres fix

This commit is contained in:
azykov@mail.ru
2026-08-21 15:37:25 +03:00
parent 6a94f95c1c
commit 5f2b951480
11 changed files with 99 additions and 94 deletions
@@ -53,7 +53,12 @@ spec:
storageClass: longhorn
retain: true
globalMounts:
# subPath, not the raw mount root: a fresh Longhorn ext4 volume's
# root always contains a "lost+found" dir, and postgres's initdb
# refuses to initialize into a non-empty directory even when
# lost+found is the only thing in it.
- path: /var/lib/postgresql/data
subPath: data
# postgres' parallel query workers need real shared memory, not the
# default 64Mi container tmpfs - matches shm_size: 128mb in the
# original docker-compose.