update postgres backup dir
This commit is contained in:
parent
da704e31f9
commit
938aa37b73
@ -70,7 +70,7 @@ services:
|
|||||||
- ENABLE_UPLOADS
|
- ENABLE_UPLOADS
|
||||||
- TOTAL_UPLOADS_LIMIT
|
- TOTAL_UPLOADS_LIMIT
|
||||||
- DEFAULT_USER_UPLOADS_LIMIT
|
- DEFAULT_USER_UPLOADS_LIMIT
|
||||||
- ENABLE_REMOTE_STORAGE
|
- ENABLE_REMOTE_STORAGE=False
|
||||||
- MAX_MEDIA_SIZE
|
- MAX_MEDIA_SIZE
|
||||||
- MAX_ATTACHMENT_SIZE
|
- MAX_ATTACHMENT_SIZE
|
||||||
- ENABLE_PROMETHEUS_METRICS
|
- ENABLE_PROMETHEUS_METRICS
|
||||||
@ -114,7 +114,7 @@ services:
|
|||||||
deploy:
|
deploy:
|
||||||
labels:
|
labels:
|
||||||
backupbot.backup.pre-hook: "/pg_backup.sh backup"
|
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'
|
backupbot.restore.post-hook: '/pg_backup.sh restore'
|
||||||
volumes:
|
volumes:
|
||||||
- db:/var/lib/postgresql/data
|
- db:/var/lib/postgresql/data
|
||||||
|
Loading…
x
Reference in New Issue
Block a user