diff options
| author | Aldair Cruz <[email protected]> | 2019-04-14 15:30:24 +0100 |
|---|---|---|
| committer | Kasra Bigdeli <[email protected]> | 2019-04-14 07:30:24 -0700 |
| commit | 708c525b2288e162ed99d8bb1f5db0f4d82d28bd (patch) | |
| tree | 4e361ebbbd063938223c2e598e9377c4176b7822 | |
| parent | 66db15beaa4ed084110e149b453a05d4f809cb24 (diff) | |
| download | caprover-one-click-apps-708c525b2288e162ed99d8bb1f5db0f4d82d28bd.tar.gz caprover-one-click-apps-708c525b2288e162ed99d8bb1f5db0f4d82d28bd.zip | |
feat(*): add template for portainer (#57)
| -rw-r--r-- | public/v1/apps/portainer.json | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/public/v1/apps/portainer.json b/public/v1/apps/portainer.json new file mode 100644 index 0000000..03227b8 --- /dev/null +++ b/public/v1/apps/portainer.json @@ -0,0 +1,31 @@ +{ + "captainVersion": "1", + "documentation": "Taken from https://hub.docker.com/r/portainer/portainer/", + "dockerCompose": { + "version": "3.3", + "services": { + "$$cap_appname": { + "containerHttpPort": "9000", + "image": "portainer/portainer:$$cap_portainer_version", + "volumes": [ + "/var/run/docker.sock:/var/run/docker.sock", + "$$cap_appname-data:/data" + ], + "restart": "always" + } + } + }, + "instructions": { + "start": "Portainer is a lightweight management UI which allows you to easily manage your Docker host or Swarm cluster. \n\n More information about this container can be found here:\n https://hub.docker.com/r/portainer/portainer/ .\n\n After installation on CapRover, it will be available as srv-captain--YOUR_CONTAINER_NAME at port 9000 to other CapRover apps .\n\nEnter your portainer Configuration parameters and click on next. It will take about a minute for the process to finish.", + "end": "Portainer is deployed and available as srv-captain--$$cap_appname:9000 to other apps." + }, + "variables": [ + { + "id": "$$cap_portainer_version", + "label": "Portainer Version", + "defaultValue": "1.20.2", + "description": "Checkout their docker page for the valid tags https://hub.docker.com/r/portainer/portainer/tags", + "validRegex": "/^([^\\s^\\/])+$/" + } + ] +}
\ No newline at end of file |
