serverctl/registry/mongo.json
Christopher Vagnetoft 2ec5081832 Improvements and fixes
* Updated README, added LICENSE
* New services: memcached, phpcacheadmin
* Polished commands
* ContainerManager now persists state
2022-09-28 01:11:14 +02:00

33 lines
671 B
JSON

{
"$type": "service",
"name": "mongo",
"description": "MongoDB NoSQL Server",
"tags": [ "nosql" ],
"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"
}
}
}