Skip to content

Commit 88173da

Browse files
authored
Fix/seed users creds (#263)
* fix: user seed container adding path to config files * fix: healthcheck with creds
1 parent f61b4ba commit 88173da

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ services:
6666
soft: 65536
6767
hard: 65536
6868
healthcheck:
69-
test: mongosh --quiet --host 127.0.0.1 --port 27017 --eval 'db.adminCommand("ping")'
69+
test: mongosh --quiet --host 127.0.0.1 --port 27017 -u ${MONGO_USER:-root} -p ${MONGO_PASSWORD:-rootpassword} --authenticationDatabase admin --eval 'db.adminCommand("ping")'
7070
interval: 3s
7171
timeout: 5s
7272
retries: 15

0 commit comments

Comments
 (0)