serverctl/registry/postgres.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

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"
}
}
}