chore: add db command

This commit is contained in:
LRVT 2025-03-26 17:22:59 +01:00 committed by GitHub
parent 125f012a68
commit 101ebd6283
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -63,6 +63,8 @@ services:
PG_DATA: /var/lib/postgresql/data
volumes:
- ${DB_DATABASE_LOCATION}:/var/lib/postgresql/data
command: >-
postgres -c shared_preload_libraries=vectors.so -c 'search_path="$$user", public, vectors' -c logging_collector=on -c max_wal_size=2GB -c shared_buffers=512MB -c wal_compression=on
restart: unless-stopped
networks:
- immich-internal
@ -74,4 +76,4 @@ networks:
proxy:
external: true
immich-internal:
internal: true
internal: true