mirror of
https://github.com/parkervcp/eggs.git
synced 2024-11-25 23:33:00 +08:00
update mongodb
make it so you can connect remotely to mongo
This commit is contained in:
parent
7572bc6e02
commit
a9f9fa2aec
@ -3,12 +3,12 @@
|
|||||||
"meta": {
|
"meta": {
|
||||||
"version": "PTDL_v1"
|
"version": "PTDL_v1"
|
||||||
},
|
},
|
||||||
"exported_at": "2020-09-28T23:37:49-04:00",
|
"exported_at": "2020-10-30T13:01:44+00:00",
|
||||||
"name": "MongoDB",
|
"name": "MongoDB",
|
||||||
"author": "parker@parkervcp.com",
|
"author": "parker@parkervcp.com",
|
||||||
"description": "MongoDB is a general purpose, document-based, distributed database built for modern application developers and for my butt era.",
|
"description": "MongoDB is a general purpose, document-based, distributed database built for modern application developers and for my butt era.",
|
||||||
"image": "quay.io\/parkervcp\/pterodactyl-images:db_mongo-4",
|
"image": "quay.io\/parkervcp\/pterodactyl-images:db_mongo-4",
|
||||||
"startup": "mongod --fork --dbpath \/home\/container\/mongodb\/ --port ${SERVER_PORT} --logpath \/home\/container\/logs\/mongo.log; until nc -z -v -w5 127.0.0.1 ${SERVER_PORT}; do echo 'Waiting for mongodb connection...'; sleep 5; done && mongo 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; until nc -z -v -w5 127.0.0.1 ${SERVER_PORT}; do echo 'Waiting for mongodb connection...'; sleep 5; done && mongo 127.0.0.1:${SERVER_PORT} && mongo --eval \"db.getSiblingDB('admin').shutdownServer()\" 127.0.0.1:${SERVER_PORT}",
|
||||||
"config": {
|
"config": {
|
||||||
"files": "{}",
|
"files": "{}",
|
||||||
"startup": "{\r\n \"done\": \"child process started successfully\"\r\n}",
|
"startup": "{\r\n \"done\": \"child process started successfully\"\r\n}",
|
||||||
@ -28,8 +28,8 @@
|
|||||||
"description": "The MongoDB Admin user",
|
"description": "The MongoDB Admin user",
|
||||||
"env_variable": "MONGO_USER",
|
"env_variable": "MONGO_USER",
|
||||||
"default_value": "admin",
|
"default_value": "admin",
|
||||||
"user_viewable": 1,
|
"user_viewable": true,
|
||||||
"user_editable": 1,
|
"user_editable": true,
|
||||||
"rules": "required|string"
|
"rules": "required|string"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -37,8 +37,8 @@
|
|||||||
"description": "",
|
"description": "",
|
||||||
"env_variable": "MONGO_USER_PASS",
|
"env_variable": "MONGO_USER_PASS",
|
||||||
"default_value": "aP@55word",
|
"default_value": "aP@55word",
|
||||||
"user_viewable": 1,
|
"user_viewable": true,
|
||||||
"user_editable": 1,
|
"user_editable": true,
|
||||||
"rules": "required|string"
|
"rules": "required|string"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user