one-click-apps/public/v4/apps/leantime.yml

44 lines
1.8 KiB
YAML

captainVersion: 4
services:
$$cap_appname-mysql:
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
caproverExtra:
dockerfileLines:
- FROM mysql:5.7
- CMD ["--character-set-server=utf8", "--collation-server=utf8_unicode_ci"]
$$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
caproverOneClickApp:
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: /.+/
instructions:
start: >-
Leantime is a lean project management system for innovators. Designed to help you manage your projects from ideation to delivery.
See more details here: https://leantime.io
end: Leantime is deployed as available as $$cap_appname! You MUST ENABLE HTTPS before accessing the panel.
displayName: Leantime
isOfficial: true
description: Open source project management for small teams
documentation: https://github.com/Leantime/docker-leantime/blob/master/docker-compose.yml