mirror of
https://github.com/parkervcp/eggs.git
synced 2024-11-22 20:42:54 +08:00
Update egg-mongo-d-b.json
This commit is contained in:
parent
8e89159760
commit
b3b5d6db51
@ -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}",
|
||||
|
Loading…
Reference in New Issue
Block a user