From c90c35ff6e6bff33721446bd20df901b6950816b Mon Sep 17 00:00:00 2001 From: Sergey Elpashev Date: Mon, 20 Jan 2025 14:42:31 +0300 Subject: [PATCH] Hotfix: postgres pg_isready healthcheck fix 2 --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index f474e0b..3d8b460 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -24,7 +24,7 @@ services: ports: - "127.0.0.1:${POSTGRES_PORT}:5432" healthcheck: - test: ["CMD", "pg_isready", "-d", "$${POSTGRES_DB}", "-U", "$${POSTGRES_USER}"] + test: ["CMD", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}"] interval: 10s timeout: 5s retries: 10