update postgres backup dir

This commit is contained in:
brooke 2025-06-19 19:14:56 -04:00
parent da704e31f9
commit 938aa37b73

View File

@ -70,7 +70,7 @@ services:
- ENABLE_UPLOADS
- TOTAL_UPLOADS_LIMIT
- DEFAULT_USER_UPLOADS_LIMIT
- ENABLE_REMOTE_STORAGE
- ENABLE_REMOTE_STORAGE=False
- MAX_MEDIA_SIZE
- MAX_ATTACHMENT_SIZE
- ENABLE_PROMETHEUS_METRICS
@ -114,7 +114,7 @@ services:
deploy:
labels:
backupbot.backup.pre-hook: "/pg_backup.sh backup"
backupbot.backup.volumes.postgres.path: "backup.sql"
backupbot.backup.volumes.db.path: "backup.sql"
backupbot.restore.post-hook: '/pg_backup.sh restore'
volumes:
- db:/var/lib/postgresql/data