From c1c0b4e7232d20a8304268ab20c844bbeab7472a Mon Sep 17 00:00:00 2001 From: Arthur Arthur Date: Thu, 12 Mar 2026 22:25:19 +0100 Subject: [PATCH] fix(compose): fix db container healthcheck --- compose.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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