Update egg-mongo-d-b.json

This commit is contained in:
Michael (Parker) Parker 2022-09-27 10:16:19 -04:00 committed by GitHub
parent 8e89159760
commit b3b5d6db51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,8 +11,7 @@
"features": null,
"docker_images": {
"MongoDB_4": "ghcr.io\/parkervcp\/yolks:mongodb_4",
"MongoDB_5": "ghcr.io\/parkervcp\/yolks:mongodb_5",
"MongoDB_6": "ghcr.io\/parkervcp\/yolks:mongodb_6"
"MongoDB_5": "ghcr.io\/parkervcp\/yolks:mongodb_5"
},
"file_denylist": [],
"startup": "mongod --fork --dbpath \/home\/container\/mongodb\/ --port ${SERVER_PORT} --bind_ip 0.0.0.0 --logpath \/home\/container\/logs\/mongo.log -f \/home\/container\/mongod.conf; until nc -z -v -w5 127.0.0.1 ${SERVER_PORT}; do echo 'Waiting for mongodb connection...'; sleep 5; done && mongo --username ${MONGO_USER} --password ${MONGO_USER_PASS} --host 127.0.0.1:${SERVER_PORT} && mongo --eval \"db.getSiblingDB('admin').shutdownServer()\" 127.0.0.1:${SERVER_PORT}",