Skip to content

Commit

Permalink
fix: localhost instead of 0.0.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tmthecoder committed Aug 29, 2024
1 parent 9530a23 commit 37c0424
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/wait-for-healthy-gateway.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ _wait() {
cmd='[ $(docker ps -f health=healthy -f name=juno-api-gateway -q | wc -l) -eq 1 ]' # script that only checks health
_wait 300 $cmd # maximum time to wait 300s
[[ $? -eq 0 ]] && {
wget http://$(docker port juno-api-gateway-1 3000)/docs-yaml
wget http://localhost:$(docker port juno-api-gateway-1 3000 | cut -d ':' -f 2)/docs-yaml
} || exit 1

0 comments on commit 37c0424

Please sign in to comment.