This commit is contained in:
brooke 2025-01-24 15:07:43 -05:00
parent 7a7307dd45
commit 100602a514
4 changed files with 10 additions and 8 deletions

View File

@ -19,4 +19,4 @@ services:
secrets:
oidc_secret:
name: ${STACK_NAME}_oidc_secret_${SECRET_OIDC_SECRET_VERSION}
external: true
external: true

View File

@ -17,7 +17,7 @@ services:
backupbot.backup.pre-hook: "/pg_backup.sh backup"
backupbot.backup.volumes.db.path: "backup.sql"
backupbot.restore.post-hook: '/pg_backup.sh restore'
environment:
environment:
- POSTGRES_DB=gotosocial
- POSTGRES_USER=gotosocial-user
- POSTGRES_PASSWORD_FILE=/run/secrets/db_password
@ -28,9 +28,9 @@ services:
networks:
- internal
configs:
- source: pg_backup
target: /pg_backup.sh
mode: 0555
- source: pg_backup
target: /pg_backup.sh
mode: 555
secrets:
db_password:
@ -40,6 +40,7 @@ secrets:
volumes:
db:
configs:
pg_backup:
name: ${STACK_NAME}_pg_backup_${PG_BACKUP_VERSION}

View File

@ -14,4 +14,4 @@ services:
secrets:
smtp_password:
name: ${STACK_NAME}_smtp_password_${SECRET_SMTP_PASSWORD_VERSION}
external: true
external: true

View File

@ -6,7 +6,7 @@ services:
configs:
- source: entrypoint
target: /custom-entrypoint.sh
mode: 0555
mode: 555
entrypoint: /custom-entrypoint.sh
environment:
- GTS_HOST=${DOMAIN}
@ -53,8 +53,9 @@ volumes:
gtsdata:
gtscache:
configs:
entrypoint:
name: ${STACK_NAME}_entrypoint_${ENTRYPOINT_VERSION}
file: entrypoint.sh.tmpl
template_driver: golang
template_driver: golang