summaryrefslogtreecommitdiffhomepage
path: root/public/v4/apps/leantime.yml
blob: db148132294954aa01e47883b67f7587e10ccc22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
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:8.0.32
                - 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
            LEAN_DEFAULT_TIMEZONE: $$cap_timezone
            LEAN_SESSION_PASSWORD: $$cap_gen_random_hex(32)
            LEAN_SESSION_EXPIRATION: 28800
caproverOneClickApp:
    variables:
        - id: $$cap_mysql_passwd
          label: MySQL User Password
          description: User password for the database instance.
          defaultValue: $$cap_gen_random_hex(16)
          validRegex: /^(?=.*\d).{10,}$/
        - id: $$cap_leantime_ver
          label: Leantime Version
          description: 'Check out their Docker page for the valid tags https://hub.docker.com/r/leantime/leantime'
          defaultValue: 2.3.6
          validRegex: /.+/
        - id: $$cap_timezone
          label: Timezone
          description: This is the timezone for the application, find yours at https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
          defaultValue: Europe/London
    instructions:
        start: |-
            Leantime is an open source project management system for small teams and startups written in PHP, Javascript using MySQL. Designed to help you manage your projects from ideation to delivery.

            See more details here at https://leantime.io
        end: |-
            ✅  Leantime has been successfully deployed and will soon be available at https://$$cap_appname.$$cap_root_domain!

            ❗️ **IMPORTANT**: Before accessing the Leantime dashboard, you must enable HTTPS:

            **Step 1**: Go to the settings for `$$cap_appname`
            **Step 2**: Enable **HTTPS**

            -------------------------------------------- 
            🔰 More information on initial configuration can be found at https://docs.leantime.io/#/.
    displayName: Leantime
    isOfficial: true
    description: Leantime is an open source project management system for small teams and startups written in PHP, Javascript using MySQL.
    documentation: More information on initial configuration can be found at https://docs.leantime.io/#/. This template was developed using variables from https://github.com/Leantime/docker-leantime/blob/master/docker-compose.yml