From 056acd7455ca0acf61c0d8f617924c1d95d2e145 Mon Sep 17 00:00:00 2001 From: Kirill Date: Mon, 5 May 2025 14:53:37 +0300 Subject: [PATCH] fix pg healthcheck --- docker-compose.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index e2a4491..47af178 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -10,7 +10,7 @@ services: container_name: postgres_db restart: always healthcheck: - test: [ "CMD-SHELL", "pg_isready", "-d", "db_prod" ] + test: [ "CMD-SHELL", "pg_isready", "-d", "${POSTGRES_DB}" ] interval: 30s timeout: 60s retries: 5