mirror of
https://github.com/CoolnsX/selfhost_podman.git
synced 2026-04-17 18:39:46 +05:30
Chuck Norris Emailed Me This Patch... I'm Not Going To Question It
This commit is contained in:
@@ -4,7 +4,7 @@ Description=Immich Database Container
|
|||||||
[Container]
|
[Container]
|
||||||
Pod=immich.pod
|
Pod=immich.pod
|
||||||
ContainerName=immich_db
|
ContainerName=immich_db
|
||||||
Image=ghcr.io/immich-app/postgres:17-vectorchord0.4.3
|
Image=ghcr.io/immich-app/postgres:18-vectorchord0.5.3
|
||||||
Exec=postgres -c shared_preload_libraries=vchord -c unix_socket_directories='/var/run/postgresql/,/tmp/immich/' -c unix_socket_permissions=0770 -c shared_buffers=2GB -c work_mem=64MB -c effective_cache_size=4GB -c listen_addresses=''
|
Exec=postgres -c shared_preload_libraries=vchord -c unix_socket_directories='/var/run/postgresql/,/tmp/immich/' -c unix_socket_permissions=0770 -c shared_buffers=2GB -c work_mem=64MB -c effective_cache_size=4GB -c listen_addresses=''
|
||||||
|
|
||||||
# Enable auto-update container
|
# Enable auto-update container
|
||||||
@@ -15,7 +15,7 @@ Environment=POSTGRES_USER=${DB_USERNAME}
|
|||||||
Environment=POSTGRES_DB=${DB_DATABASE_NAME}
|
Environment=POSTGRES_DB=${DB_DATABASE_NAME}
|
||||||
Environment=POSTGRES_INITDB_ARGS=--data-checksums
|
Environment=POSTGRES_INITDB_ARGS=--data-checksums
|
||||||
|
|
||||||
Volume=%h/podman/immich/database:/var/lib/postgresql/data
|
Volume=%h/podman/immich/database:/var/lib/postgresql
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
# pass this to autofill above variables
|
# pass this to autofill above variables
|
||||||
|
|||||||
Reference in New Issue
Block a user