remove backup bot labels

This commit is contained in:
brooke 2025-02-19 17:22:18 -05:00
parent 362967ab51
commit b4f1159460
2 changed files with 0 additions and 11 deletions

View File

@ -16,11 +16,6 @@ services:
- db_password
db:
image: postgres:17.2
deploy:
labels:
backupbot.backup.pre-hook: "/pg_backup.sh backup"
backupbot.backup.path: "/var/lib/postgresql/data/backup.sql"
backupbot.restore.post-hook: "/pg_backup.sh restore"
environment:
- POSTGRES_DB=gotosocial
- POSTGRES_USER=gotosocial-user

View File

@ -28,12 +28,6 @@ services:
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
- "coop-cloud.${STACK_NAME}.version=1.0.0+0.17.3"
- "backupbot.backup=true"
- "backupbot.backup.pre-hook=cp /gotosocial/storage/sqlite.db /gotosocial/storage/sqlitebak.db"
- "backupbot.backup.path=/gotosocial/storage/sqlitebak.db"
- "backupbot.backup.post-hook=rm /gotosocial/storage/sqlitebak.db"
- "backupbot.restore=true"
- "backupbot.restore.post-hook=cp /gotosocial/storage/sqlitebak.db /gotosocial/storage/sqlite.db"
healthcheck:
test: wget --no-verbose --tries=1 --spider http://localhost:8080/readyz || exit 1