Skip to content

Commit

Permalink
Merge pull request #65 from mojaloop/fix-localhost
Browse files Browse the repository at this point in the history
fix: Health check against 0.0.0.0 instead of localhost
  • Loading branch information
TWith2Sugars authored Jul 4, 2024
2 parents 4c4cc76 + 36a8d7d commit 380390a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker-compose-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ services:
volumes:
- ./docker/config-modifier:/opt/app/config-modifier
healthcheck:
test: wget -q http://localhost:3002/health -O /dev/null || exit 1
test: wget -q http://0.0.0.0:3002/health -O /dev/null || exit 1
timeout: 20s
retries: 30
interval: 15s
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ services:
volumes:
- ./docker/config-modifier:/opt/app/config-modifier
healthcheck:
test: wget -q http://localhost:3002/health -O /dev/null || exit 1
test: wget -q http://0.0.0.0:3002/health -O /dev/null || exit 1
timeout: 20s
retries: 30
interval: 15s
Expand Down Expand Up @@ -213,7 +213,7 @@ services:
networks:
- mojaloop-net
healthcheck:
test: wget -q http://localhost:8444/health -O /dev/null || exit 1
test: wget -q http://0.0.0.0:8444/health -O /dev/null || exit 1
timeout: 20s
retries: 10
interval: 30s
Expand Down

0 comments on commit 380390a

Please sign in to comment.