From 3caf3eb1121a584497f3e19b5dc7f81293d564cd Mon Sep 17 00:00:00 2001 From: Parham Alvani Date: Mon, 2 Oct 2023 07:40:28 +0000 Subject: [PATCH] feat: use better type of healthcheck --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index fce1856..5e8e3e7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -13,7 +13,7 @@ services: test: [ "CMD-SHELL", - "pg_isready", + "pg_isready -U $${POSTGRES_USER}", ] interval: 10s timeout: 5s