fix log error from db health check

This commit is contained in:
stevensting 2025-05-20 20:42:19 +02:00
parent db4fd8018c
commit ce095c65e5

View File

@ -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