Skip to content

Commit

Permalink
update healthcheck test
Browse files Browse the repository at this point in the history
  • Loading branch information
cyri113 authored Jan 9, 2024
1 parent a6b8115 commit 877c189
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion development/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ services:
- ./mongo:/etc/mongo:ro
- mongodb_data_container:/data/db
healthcheck:
test: test $(echo $(mongosh --quiet /etc/mongo/healthcheck.js)) -eq 1
test: test $(echo $(mongosh -u $$MONGO_INITDB_ROOT_USERNAME -p $$MONGO_INITDB_ROOT_PASSWORD --quiet /etc/mongo/healthcheck.js)) -eq 1
interval: 60s
timeout: 10s
retries: 2
Expand Down

0 comments on commit 877c189

Please sign in to comment.