From 41ab42455a08ff5c9df5830245a96981b0d6bbef Mon Sep 17 00:00:00 2001 From: decentral1se Date: Fri, 28 May 2021 14:01:22 +0200 Subject: [PATCH] Another attempt to fix this healthcheck --- compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose.yml b/compose.yml index 6234cba..17258de 100644 --- a/compose.yml +++ b/compose.yml @@ -7,7 +7,7 @@ services: networks: &internalNetwork - internal_network healthcheck: - test: ["CMD", "pg_isready", "-U", "${POSTGRES_USER}"] + test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER}"] volumes: - postgres:/var/lib/postgresql/data secrets: