Skip to content

Commit

Permalink
docker healthcheck add curl noproxy option
Browse files Browse the repository at this point in the history
  • Loading branch information
joelclems committed Sep 4, 2023
1 parent 182f314 commit 102ff68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker_healthcheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
# docker healthcheck TH
url_test=http://localhost:5000${TAXHUB_APPLICATION_ROOT}/
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

0 comments on commit 102ff68

Please sign in to comment.