From f2f19e55b2ca383aca511693086c9810348c68f0 Mon Sep 17 00:00:00 2001 From: Kasra Bigdeli Date: Tue, 7 Jul 2020 07:39:05 -0400 Subject: Added leantime fixes https://github.com/caprover/one-click-apps/issues/218 --- public/v2/apps/leantime.json | 57 +++++++++++++++++++++++++++++++++++++++++++ public/v2/logos/leantime.png | Bin 0 -> 7140 bytes 2 files changed, 57 insertions(+) create mode 100644 public/v2/apps/leantime.json create mode 100644 public/v2/logos/leantime.png diff --git a/public/v2/apps/leantime.json b/public/v2/apps/leantime.json new file mode 100644 index 0000000..6f3d4ac --- /dev/null +++ b/public/v2/apps/leantime.json @@ -0,0 +1,57 @@ +{ + "captainVersion": "2", + "documentation": "https://github.com/Leantime/docker-leantime/blob/master/docker-compose.yml", + "displayName": "Leantime", + "description": "Open source project management for small teams", + "dockerCompose": { + "services": { + "$$cap_appname-mysql": { + "dockerfileLines": [ + "FROM mysql:5.7", + "CMD [\"--character-set-server=utf8\", \"--collation-server=utf8_unicode_ci\"]" + ], + "volumes": ["$$cap_appname-mysql-data:/var/lib/mysql"], + "environment": { + "MYSQL_DATABASE": "leantime", + "MYSQL_ROOT_PASSWORD": "$$cap_mysql_passwd", + "MYSQL_USER": "leantimeuser", + "MYSQL_PASSWORD": "$$cap_mysql_passwd" + } + }, + "$$cap_appname": { + "image": "leantime/leantime:$$cap_leantime_ver", + "container_name": "leantime", + "environment": { + "LEAN_APP_URL": "https://$$cap_appname.$$cap_root_domain", + "LEAN_DB_HOST": "srv-captain--$$cap_appname-mysql", + "LEAN_DB_USER": "leantimeuser", + "LEAN_DB_PASSWORD": "$$cap_mysql_passwd", + "LEAN_DB_DATABASE": "leantime" + } + } + }, + "version": "2", + "volumes": { + "$$cap_appname-data": {} + } + }, + "instructions": { + "start": "Leantime is a lean project management system for innovators. Designed to help you manage your projects from ideation to delivery.\n See more details here: https://leantime.io", + "end": "Leantime is deployed as available as $$cap_appname! You MUST ENABLE HTTPS before accessing the panel." + }, + "variables": [ + { + "description": "User password for the database instance.", + "defaultValue": "N2cQ4J9VzsfvXwzM", + "id": "$$cap_mysql_passwd", + "label": "MySQL User Password", + "validRegex": "/^(?=.*\\d).{10,}$/" + }, + { + "defaultValue": "2.1.4", + "id": "$$cap_leantime_ver", + "label": "Leantime Version", + "validRegex": "/.+/" + } + ] +} diff --git a/public/v2/logos/leantime.png b/public/v2/logos/leantime.png new file mode 100644 index 0000000..9824ad2 Binary files /dev/null and b/public/v2/logos/leantime.png differ -- cgit v1.2.3