summaryrefslogtreecommitdiffhomepage
path: root/public/v4/apps/mattermost-ee.yml
blob: 5df42ca82a4e7e667060081959a20717e25a5167 (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
captainVersion: 4
services:
    $$cap_appname-db:
        image: postgres:$$cap_postgres_version
        volumes:
            - $$cap_appname-db-data:/var/lib/postgresql/data
        restart: always
        environment:
            POSTGRES_USER: mmuser
            POSTGRES_PASSWORD: $$cap_pg_pass
            POSTGRES_DB: mattermost
        caproverExtra:
            notExposeAsWebApp: 'true'
    $$cap_appname:
        image: mattermost/mattermost-enterprise-edition:$$cap_mattermost_version
        depends_on:
            - $$cap_appname-db
        volumes:
            - $$cap_appname-data:/mattermost/data
            - $$cap_appname-logs:/mattermost/logs
            - $$cap_appname-config:/mattermost/config
            - $$cap_appname-plugins:/mattermost/plugins
            - $$cap_appname-clientplugins:/mattermost/client/plugins
        restart: always
        environment:
            MM_USERNAME: mmuser
            MM_PASSWORD: $$cap_pg_pass
            MM_DBNAME: mattermost
            DB_HOST: srv-captain--$$cap_appname-db
            MM_SERVICESETTINGS_SITEURL: https://$$cap_appname.$$cap_root_domain
            MM_SQLSETTINGS_DATASOURCE: postgres://mmuser:$$cap_pg_pass@srv-captain--$$cap_appname-db:5432/mattermost?sslmode=disable&connect_timeout=10
        caproverExtra:
            containerHttpPort: '8065'
caproverOneClickApp:
    variables:
        - id: $$cap_mattermost_version
          label: mattermost Docker Image tag. Use 'latest' for updated images.
          defaultValue: release-6.7
          description: Check out their Docker page for the valid tags https://hub.docker.com/r/mattermost/mattermost-prod-app/tags
        - id: $$cap_postgres_version
          label: postgres database Docker Image tag. Use 'latest' for updated images.
          defaultValue: 14.3
          description: Check out their Docker page for the valid tags https://hub.docker.com/_/postgres?tab=tags
        - id: $$cap_pg_pass
          label: Database Password
          description: Password must be at least 30 characters.  Please use a random string.
          defaultValue: $$cap_gen_random_hex(32)
          validRegex: /^[^\@]{30,}$/
    instructions:
        start: Open-source collaboration/chat server Mattermost Team Edition. Note that version of mattermost is the E0 version, you do not need any licence to run it. This version is the one recommanded by mattermost to allow one click upgrade for E10 and E20 versions.
        end: Mattermost is deployed and available as srv-captain--$$cap_appname. Note that the application may take up to ten minutes to become available.
    displayName: Mattermost Entreprise Edition E0
    isOfficial: true
    description: Mattermost Team Edition open source collaboration/chat software
    documentation: https://github.com/mattermost/mattermost-docker