Skip to content

Commit

Permalink
Remove healthcheck.
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-fox committed Aug 9, 2023
1 parent 581faeb commit ba8a780
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,6 @@ services:
mongo --quiet $host/test --eval 'quit(db.runCommand({ ping: 1 }).ok ? 0 : 2)' && echo 0 || echo 1
interval: 5s

healthcheck:
test: |
host=`hostname --ip-address || echo '127.0.0.1'`;
mongo --quiet $host/test --eval 'quit(db.runCommand({ ping: 1 }).ok ? 0 : 2)' && echo 0 || echo 1
interval: 5s


networks:
default:
Expand Down

0 comments on commit ba8a780

Please sign in to comment.