immich-postgres fix
This commit is contained in:
@@ -53,7 +53,12 @@ spec:
|
|||||||
storageClass: longhorn
|
storageClass: longhorn
|
||||||
retain: true
|
retain: true
|
||||||
globalMounts:
|
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
|
- path: /var/lib/postgresql/data
|
||||||
|
subPath: data
|
||||||
# postgres' parallel query workers need real shared memory, not the
|
# postgres' parallel query workers need real shared memory, not the
|
||||||
# default 64Mi container tmpfs - matches shm_size: 128mb in the
|
# default 64Mi container tmpfs - matches shm_size: 128mb in the
|
||||||
# original docker-compose.
|
# original docker-compose.
|
||||||
|
|||||||
Reference in New Issue
Block a user