Skip to content

Commit ce2b540

Browse files
author
Norbert Schlemmer Noschvie on github.com
committed
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.
1 parent 9ffa1d0 commit ce2b540

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGES.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ Fixed:
6565
- use unittest.mock rather than mock for
6666
test/test_hyperdbvals.py. (found by Ralf Schlatterbeck. Fix John
6767
Rouillard)
68+
- disable proxy with wget in roundup_healthcheck. (Norbert SCHLEMMER
69+
Noschvie on github.com)
6870

6971
Features:
7072

scripts/Docker/roundup_healthcheck

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
# returns last one for testing that server is up. Does not test
55
# each tracker.
66
tracker=$(ps -ef | sed -ne '/roundup-server/s/^.*\s\(\w*\)=.*$/\1/p')
7-
wget -q -O /dev/null --no-verbose http://localhost:8080/"${tracker:-demo}"/
7+
wget -q -O /dev/null --proxy off --no-verbose http://localhost:8080/"${tracker:-demo}"/

0 commit comments

Comments
 (0)