1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-16 00:36:47 +01:00

Fix backup and restore docker compose issue (#8939)

For the backup and restore docker compose config to work, the `POSTGRES_DB` environment variable needs to be specified
This commit is contained in:
bercribe 2024-04-26 21:14:51 -07:00 committed by GitHub
parent 557f9d8e5f
commit 0571901288
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -79,6 +79,7 @@ services:
POSTGRES_CLUSTER: 'TRUE'
POSTGRES_USER: ${DB_USERNAME}
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_DB: ${DB_DATABASE_NAME}
SCHEDULE: "@daily"
POSTGRES_EXTRA_OPTS: '--clean --if-exists'
BACKUP_DIR: /db_dumps