summaryrefslogtreecommitdiffhomepage
path: root/public/v4/apps/orangehrm.yml
blob: 5946c50af11fe2c79dd4acf65e418aa12393fd21 (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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
captainVersion: 4
services:
    $$cap_appname-db:
        documentation: Taken from https://hub.docker.com/_/mariadb
        image: mariadb:$$cap_mariadb_version
        volumes:
            - $$cap_appname-db-data:/var/lib/mysql
        restart: always
        environment:
            MYSQL_ROOT_PASSWORD: $$cap_db_pass
            MYSQL_DATABASE: $$cap_db_name
            MYSQL_USER: $$cap_db_user
            MYSQL_PASSWORD: $$cap_db_pass
        caproverExtra:
            notExposeAsWebApp: 'true'
    $$cap_appname:
        documentation: Taken from https://hub.docker.com/r/orangehrm/orangehrm
        depends_on:
            - $$cap_appname-db
        image: orangehrm/orangehrm:$$cap_orangehrm_version
        volumes:
            - $$cap_appname-data:/orangehrm
        restart: always
        environment:
            ORANGEHRM_USERNAME: $$cap_admin_name
            ORANGEHRM_PASSWORD: $$cap_admin_pass
            MARIADB_HOST: srv-captain--$$cap_appname-db
            ORANGEHRM_DATABASE_NAME: $$cap_db_name
            ORANGEHRM_DATABASE_USER: $$cap_db_user
            ORANGEHRM_DATABASE_PASSWORD: $$cap_db_pass
            SMTP_HOST: $$cap_smtp_host
            SMTP_PORT: $$cap_smtp_port
            SMTP_USER: $$cap_smtp_user
            SMTP_PASSWORD: $$cap_smtp_pass
            PUID: 998
            PGID: 100
caproverOneClickApp:
    variables:
        - id: $$cap_admin_name
          label: OrangeHRM default admin name
          defaultValue: admin
          description: Admin username for OrangeHRM.
          validRegex: /^([a-zA-Z0-9])+$/
        - id: $$cap_admin_pass
          label: admin password
          description: Password for the admin user.
          validRegex: /.{1,}/
        - id: $$cap_orangehrm_version
          label: OrangeHRM Version
          defaultValue: '5.4'
          description: https://hub.docker.com/r/bitnami/orangehrm/tags
          validRegex: /^([^\s^\/])+$/
        - id: $$cap_mariadb_version
          label: MariaDB (database) version
          defaultValue: 10.11.4
          description: Check out their Docker page for the valid tags https://hub.docker.com/_/mariadb?tab=tags
          validRegex: /^([^\s^\/])+$/
        - id: $$cap_db_pass
          label: database password
          description: Password for the database user and root using mysql.
          validRegex: /.{1,}/
        - id: $$cap_db_name
          label: database name
          defaultValue: orangehrm
          description: name for the database.
          validRegex: /^([a-zA-Z0-9])+$/
        - id: $$cap_db_user
          label: database user
          defaultValue: orangehrm
          description: Username for the database using mysql.
          validRegex: /^([a-zA-Z0-9])+$/
        - id: $$cap_smtp_host
          label: SMPT host
          defaultValue: smtp.gmail.com
          description: The host for your smtp server
        - id: $$cap_smtp_port
          label: SMTP port
          defaultValue: '587'
          description: The port for your smtp server
        - id: $$cap_smtp_user
          label: SMTP user
          defaultValue: [email protected]
          description: The user for your smtp server
        - id: $$cap_smtp_pass
          label: SMTP password
          defaultValue: sTr0nG_p@s$wo%d
          description: The password for your smtp server
    instructions:
        start: |-
            OrangeHRM Open Source is a free HR management.
            The process will deploy a database and the App.
        end: |-
            OrangeHRM has been successfully deployed!
    displayName: OrangeHRM
    isOfficial: false
    description: OrangeHRM Open Source is a free HR management system that offers a wealth of modules to suit the needs of your business.
    documentation: See https://github.com/orangehrm/orangehrm