feat(*): add template for pgweb (#55)

This commit is contained in:
Prabir Shrestha 2019-04-13 19:16:48 -07:00 committed by Kasra Bigdeli
parent 8a88c79bae
commit 7f92d39098
1 changed files with 26 additions and 0 deletions

26
public/v1/apps/pgweb.json Normal file
View File

@ -0,0 +1,26 @@
{
"captainVersion": "1",
"documentation": "pgweb",
"dockerCompose": {
"version": "3.3",
"services": {
"$$cap_appname": {
"image": "sosedoff/pgweb:$$cap_pgweb_version",
"containerHttpPort": "8081",
"restart": "always"
}
}
},
"instructions": {
"start": "pgweb is a web-based database browser for PostgreSQL, written in Go.",
"end": "'pgweb' is deployed."
},
"variables": [{
"id": "$$cap_pgweb_version",
"label": "pgweb Version",
"defaultValue": "0.11.2",
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/sosedoff/pgweb/tags",
"validRegex": "/^([^\\s^\\/])+$/"
}
]
}