1
0
mirror of https://github.com/parkervcp/eggs.git synced 2024-10-07 08:07:09 +02:00

Merge pull request #1839 from gOOvER/patch-5

added MongoDB6 to Mongodb egg
This commit is contained in:
Michael (Parker) Parker 2022-08-28 08:17:01 -04:00 committed by GitHub
commit b094770d5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,8 @@
"features": null,
"docker_images": {
"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": [],
"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}",