diff --git a/compose.yml b/compose.yml index ae847e1..031d681 100644 --- a/compose.yml +++ b/compose.yml @@ -161,7 +161,7 @@ services: backupbot.backup.volumes.postgres_data.path: "backup.sql" backupbot.restore.post-hook: '/pg_backup.sh restore' healthcheck: - test: [ "CMD-SHELL", "pg_isready" ] + test: [ "CMD-SHELL", "pg_isready -d $$POSTGRES_DB -U $$POSTGRES_USER" ] interval: 10s timeout: 5s retries: 10