From cb7f85c401ed5f3686a14238883e643ca0dfadff Mon Sep 17 00:00:00 2001 From: lukinovec Date: Mon, 22 May 2023 15:16:16 +0200 Subject: [PATCH] Use quotes in the healthcheck --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 93165e66..8d3d3fd4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -60,7 +60,7 @@ services: POSTGRES_USER: '${POSTGRES_USER:-postgres}' POSTGRES_PASSWORD: '${POSTGRES_PASSWORD:-postgres}' healthcheck: - test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER}"] + test: ["CMD-SHELL", "pg_isready -U '${POSTGRES_USER}'"] interval: 10s redis: image: redis:alpine