We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6df8150 + 0a0705b commit b480b05Copy full SHA for b480b05
1 file changed
scripts/check.sh
@@ -1,6 +1,6 @@
1
if [[ "$HEALTHCHECK" == "true" ]]; then
2
3
- wget -qO- "http://localhost:8080/v1/docker-flow-proxy/ping"
+ wget -qO- "http://localhost:${PORT:-8080}/v1/docker-flow-proxy/ping"
4
5
if [[ $? -ne 0 ]]; then
6
echo "ERROR: Failed to ping docker-flow-proxy"
@@ -17,7 +17,7 @@ if [[ "$HEALTHCHECK" == "true" ]]; then
17
if [[ "$LISTENER_ADDRESS" != "" ]]; then
18
19
while true; do
20
- wget -qO- "http://localhost:8080/v1/docker-flow-proxy/successfulinitreload"
+ wget -qO- "http://localhost:${PORT:-8080}/v1/docker-flow-proxy/successfulinitreload"
21
22
if [[ $? -eq 0 ]]; then
23
exit 0
0 commit comments