enable backup and restore in postgres compose file
This commit is contained in:
parent
d5e3dc2773
commit
7aaa66d941
@ -16,9 +16,11 @@ services:
|
||||
image: postgres:17.2
|
||||
deploy:
|
||||
labels:
|
||||
backupbot.backup: "${ENABLE_BACKUPS:-true}"
|
||||
backupbot.backup.pre-hook: "/pg_backup.sh backup"
|
||||
backupbot.backup.volumes.db.path: "backup.sql"
|
||||
backupbot.restore.post-hook: '/pg_backup.sh restore'
|
||||
backupbot.restore.post-hook: "/pg_backup.sh restore"
|
||||
backupbot.restore: "${ENABLE_BACKUPS:-true}"
|
||||
environment:
|
||||
- POSTGRES_DB=gotosocial
|
||||
- POSTGRES_USER=gotosocial-user
|
||||
|
Loading…
x
Reference in New Issue
Block a user