added MongoDB6 to Mongodb egg

This commit is contained in:
Torsten Widmann 2022-08-28 14:15:18 +02:00 committed by GitHub
parent 2c131da51b
commit a567ee56cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,8 @@
"features": null, "features": null,
"docker_images": { "docker_images": {
"MongoDB_4": "ghcr.io\/parkervcp\/yolks:mongodb_4", "MongoDB_4": "ghcr.io\/parkervcp\/yolks:mongodb_4",
"MongoDB_5": "ghcr.io\/parkervcp\/yolks:mongodb_5" "MongoDB_5": "ghcr.io\/parkervcp\/yolks:mongodb_5",
"MongoDB_6": "ghcr.io\/parkervcp\/yolks:mongodb_6"
}, },
"file_denylist": [], "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}", "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}",