diff --git a/compose.yaml b/compose.yaml index 20eabe5..fd4eb91 100644 --- a/compose.yaml +++ b/compose.yaml @@ -30,7 +30,7 @@ services: volumes: - pgdata:/home/arthur/sources/node/pathtoglory/postgresql/data healthcheck: - test: ["CMD-SHELL", "pg_isready"] + test: ["CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}"] interval: 1s timeout: 5s retries: 10