From 4bc975781e99b38a7d90ed75c151c31110b85b2a Mon Sep 17 00:00:00 2001 From: decentral1se Date: Fri, 28 May 2021 13:58:19 +0200 Subject: [PATCH] Do healthchecking with the user --- compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose.yml b/compose.yml index d18116d..6234cba 100644 --- a/compose.yml +++ b/compose.yml @@ -7,7 +7,7 @@ services: networks: &internalNetwork - internal_network healthcheck: - test: ["CMD", "pg_isready", "-U", "postgres"] + test: ["CMD", "pg_isready", "-U", "${POSTGRES_USER}"] volumes: - postgres:/var/lib/postgresql/data secrets: