serverctl/registry/mongo.json

33 lines
671 B
JSON
Raw Normal View History

2022-09-27 10:29:56 +00:00
{
"$type": "service",
"name": "mongo",
"description": "MongoDB NoSQL Server",
"tags": [ "nosql" ],
2022-09-27 10:29:56 +00:00
"author": null,
"image": "mongo",
"ports": [
{ "port": 27017, "info": "Mongo client" }
],
"persistence": [
{ "path": "/data/db", "hint": "data" }
],
"environment": {
"MONGO_INITDB_ROOT_PASSWORD": "toor",
"MONGO_INITDB_ROOT_USERNAME": "root"
},
"scripts": {
"shell": {
"info": "Open the mongo shell",
"execute": "mongosh"
},
"export": {
"info": "Export the database",
"execute": "mongodump"
},
"import": {
"info": "Import the database",
"execute": "mongoimport"
}
}
}