Mercurial > p > roundup > code
diff scripts/Docker/roundup_healthcheck @ 7681:9ceb85d9df32
fix(docker): make healthcheck work when proxy is set
In docker setups that use a proxy for internet access, exclude the
wget healthcheck from using the proxy when connecting to localhost.
Fix from Norbert Schlemmer.
| author | Norbert Schlemmer "Noschvie on github.com" |
|---|---|
| date | Wed, 25 Oct 2023 09:42:11 -0400 |
| parents | cae50e4ba467 |
| children | 8a9fc2d74740 |
line wrap: on
line diff
--- a/scripts/Docker/roundup_healthcheck Tue Oct 24 22:03:55 2023 -0400 +++ b/scripts/Docker/roundup_healthcheck Wed Oct 25 09:42:11 2023 -0400 @@ -4,4 +4,4 @@ # returns last one for testing that server is up. Does not test # each tracker. tracker=$(ps -ef | sed -ne '/roundup-server/s/^.*\s\(\w*\)=.*$/\1/p') -wget -q -O /dev/null --no-verbose http://localhost:8080/"${tracker:-demo}"/ +wget -q -O /dev/null --proxy off --no-verbose http://localhost:8080/"${tracker:-demo}"/
