From 1988c59950dd85f0f3fa7143b9e83ac6672c260c Mon Sep 17 00:00:00 2001 From: Ben Date: Sat, 19 Oct 2019 20:35:06 +0100 Subject: [PATCH] Add Countly analytics as a one-click app (#97) * add countly * allow version * add version vars * add more helpful message --- public/v2/apps/countly.json | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 public/v2/apps/countly.json diff --git a/public/v2/apps/countly.json b/public/v2/apps/countly.json new file mode 100644 index 0000000..6268aff --- /dev/null +++ b/public/v2/apps/countly.json @@ -0,0 +1,29 @@ +{ + "captainVersion": "2", + "documentation": "Taken from https://hub.docker.com/r/countly/countly-server", + "dockerCompose": { + "version": "3.3", + "services": { + "$$cap_appname": { + "image": "countly/countly-server:$$cap_countly_version", + "volumes": [ + "$$cap_appname-data:/var/lib/mongodb" + ], + "restart": "always", + "environment": {} + } + } + }, + "instructions": { + "start": "Countly. This will only work over HTTPS, so enable plz :) | Product Analytics for Mobile, Web, Desktop and IoT | https://count.ly", + "end": "Countly is deployed and available as $$cap_appname" + }, + "variables": [{ + "id": "$$cap_countly_version", + "label": "What version/tag do you want?", + "description": "Go here to see all versions https://hub.docker.com/r/countly/countly-server/tags", + "defaultValue": "latest", + "validRegex": "/^([^\\s^\\/])+$/" + } + ] +}