From 816f04bb840637814739f3b998d68ba12be7ece0 Mon Sep 17 00:00:00 2001 From: "joel.clement" Date: Mon, 4 Sep 2023 16:15:19 +0200 Subject: [PATCH] docker healthcheck add curl noproxy option --- docker_healthcheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker_healthcheck.sh b/docker_healthcheck.sh index 3f5ac51..d869f90 100644 --- a/docker_healthcheck.sh +++ b/docker_healthcheck.sh @@ -2,6 +2,6 @@ # docker healthcheck UH url_test=http://localhost:5001${USERSHUB_APPLICATION_ROOT}/login if [ ! -f /tmp/container_healthy ]; then - curl -f "${url_test}" || exit 1 + curl --noproxy localhost -f "${url_test}" || exit 1 touch /tmp/container_healthy fi \ No newline at end of file