diff --git a/compose.yml b/compose.yml index eb8af26..7a8027b 100644 --- a/compose.yml +++ b/compose.yml @@ -31,9 +31,10 @@ services: - "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}" healthcheck: test: curl -f http://${STACK_NAME}_app:8008/health || exit 1 - interval: 20s + interval: 30s timeout: 15s - retries: 20 + retries: 30 + start_period: 1m app: image: "matrixdotorg/synapse:v1.139.2" @@ -113,7 +114,7 @@ services: test: ["CMD", "curl", "-f", "http://localhost:8008/health"] interval: 30s timeout: 10s - retries: 10 + retries: 30 start_period: 1m db: @@ -134,7 +135,7 @@ services: test: ["CMD", "pg_isready", "-U", "synapse"] interval: 30s timeout: 10s - retries: 10 + retries: 20 start_period: 1m volumes: - postgres:/var/lib/postgresql/data @@ -143,11 +144,11 @@ services: backupbot.backup: "${ENABLE_BACKUPS:-true}" backupbot.backup.pre-hook: "/pg_backup.sh backup" backupbot.backup.volumes.postgres.path: "backup.sql" - backupbot.restore.post-hook: '/pg_backup.sh restore' + backupbot.restore.post-hook: "/pg_backup.sh restore" configs: - - source: pg_backup - target: /pg_backup.sh - mode: 0555 + - source: pg_backup + target: /pg_backup.sh + mode: 0555 volumes: data: