mirror of
https://github.com/immich-app/immich.git
synced 2025-01-21 00:52:43 -05: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:
parent
557f9d8e5f
commit
0571901288
1 changed files with 1 additions and 0 deletions
|
@ -79,6 +79,7 @@ services:
|
||||||
POSTGRES_CLUSTER: 'TRUE'
|
POSTGRES_CLUSTER: 'TRUE'
|
||||||
POSTGRES_USER: ${DB_USERNAME}
|
POSTGRES_USER: ${DB_USERNAME}
|
||||||
POSTGRES_PASSWORD: ${DB_PASSWORD}
|
POSTGRES_PASSWORD: ${DB_PASSWORD}
|
||||||
|
POSTGRES_DB: ${DB_DATABASE_NAME}
|
||||||
SCHEDULE: "@daily"
|
SCHEDULE: "@daily"
|
||||||
POSTGRES_EXTRA_OPTS: '--clean --if-exists'
|
POSTGRES_EXTRA_OPTS: '--clean --if-exists'
|
||||||
BACKUP_DIR: /db_dumps
|
BACKUP_DIR: /db_dumps
|
||||||
|
|
Loading…
Add table
Reference in a new issue