Christopher Vagnetoft
2ec5081832
* Updated README, added LICENSE * New services: memcached, phpcacheadmin * Polished commands * ContainerManager now persists state
32 lines
634 B
JSON
32 lines
634 B
JSON
{
|
|
"$type": "service",
|
|
"name": "postgres",
|
|
"description": "Postgres RDBMS",
|
|
"tags": [ "rdbms" ],
|
|
"author": null,
|
|
"image": "postgres",
|
|
"ports": [
|
|
{ "port": 5432, "info": "Postgres client" }
|
|
],
|
|
"environment": {
|
|
"POSTGRES_PASSWORD": "password"
|
|
},
|
|
"persistence": [
|
|
{ "path": "/data", "hint": "data" }
|
|
],
|
|
"scripts": {
|
|
"mongosh": {
|
|
"info": "Open a pg shell",
|
|
"execute": "psql --user postgres"
|
|
},
|
|
"export": {
|
|
"info": "Export the database",
|
|
"execute": "mysqldump "
|
|
},
|
|
"import": {
|
|
"info": "Import the database",
|
|
"execute": "mongoimport"
|
|
}
|
|
}
|
|
}
|