Feat: unix socketifying and disabling ports as much as possible

This commit is contained in:
coolnsx
2025-08-27 13:42:56 +05:30
parent 08b5c07938
commit cfa20a6396
10 changed files with 44 additions and 17 deletions

View File

@@ -5,7 +5,7 @@ Description=Immich Database Container
Pod=immich.pod
ContainerName=immich_db
Image=ghcr.io/immich-app/postgres:17-vectorchord0.4.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
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
AutoUpdate=registry