We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f61b4ba commit 88173daCopy full SHA for 88173da
1 file changed
docker-compose.yaml
@@ -66,7 +66,7 @@ services:
66
soft: 65536
67
hard: 65536
68
healthcheck:
69
- test: mongosh --quiet --host 127.0.0.1 --port 27017 --eval 'db.adminCommand("ping")'
+ test: mongosh --quiet --host 127.0.0.1 --port 27017 -u ${MONGO_USER:-root} -p ${MONGO_PASSWORD:-rootpassword} --authenticationDatabase admin --eval 'db.adminCommand("ping")'
70
interval: 3s
71
timeout: 5s
72
retries: 15
0 commit comments