summaryrefslogtreecommitdiffhomepage
path: root/public/v4/apps/passbolt.yml
blob: 78a3f3d7c61d8c3853533986cdb5571b8550e8dc (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
captainVersion: 4
services:
    $$cap_appname-db:
        image: mariadb:$$cap_maria_version
        restart: unless-stopped
        environment:
            MYSQL_ROOT_PASSWORD: $$cap_db_root_pass
            MYSQL_DATABASE: passbolt_oca
            MYSQL_USER: $$cap_db_user
            MYSQL_PASSWORD: $$cap_db_pass
        volumes:
            - $$cap_appname-db:/var/lib/mysql
    $$cap_appname-pb:
        image: passbolt/passbolt:$$cap_pb_version
        restart: unless-stopped
        depends_on:
            - $$cap_appname-db
        environment:
            DATASOURCES_DEFAULT_HOST: srv-captain--$$cap_appname-db:3306
            DATASOURCES_DEFAULT_DATABASE: passbolt_oca
            DATASOURCES_DEFAULT_USERNAME: $$cap_db_user
            DATASOURCES_DEFAULT_PASSWORD: $$cap_db_pass
            APP_FULL_BASE_URL: $$cap_url
            EMAIL_TRANSPORT_DEFAULT_HOST: $$cap_email_host
            EMAIL_TRANSPORT_DEFAULT_PORT: $$cap_email_port
            EMAIL_TRANSPORT_DEFAULT_USERNAME: $$cap_email_user
            EMAIL_DEFAULT_FROM: $$cap_email_user
            EMAIL_TRANSPORT_DEFAULT_PASSWORD: $$cap_email_pass
            EMAIL_TRANSPORT_DEFAULT_TLS: $$cap_email_tls
        volumes:
            - $$cap_appname-gpg:/etc/passbolt/gpg
            - $$cap_appname-jwt:/etc/passbolt/jwt
            - $$cap_appname-images:/usr/share/php/passbolt/webroot/img/public/images
caproverOneClickApp:
    variables:
        - id: $$cap_db_root_pass
          label: Database Root Password
          defaultValue: rootpassword
        - id: $$cap_db_user
          label: Database Username
          defaultValue: passbolt
        - id: $$cap_db_pass
          label: Database Password
          defaultValue: password
        - id: $$cap_pb_version
          label: Passbolt Version
          defaultValue: 3.9.0-2
          description: Check out their Docker page for the valid tags https://hub.docker.com/r/passbolt/passbolt/tags/
        - id: $$cap_maria_version
          label: MariaDB Version
          defaultValue: 10.10
          description: Check out their Docker page for the valid tags https://hub.docker.com/_/mariadb
        - id: $$cap_url
          label: Passbolt URL
          description: "This is VERY IMPORTANT, if you won't use a custom domain (ex: km.yourdomain.com), after deployed you will need to go into the App Configs and update the ENV APP_FULL_BASE_URL with the external URL that CapRover assigned to your App, otherwhise it won't work"
          defaultValue: https://yourdomain.com
        - id: $$cap_email_host
          label: Email SMTP Server
          description: 'Host used as smtp server. More info: https://help.passbolt.com/configure/email/setup.'
          defaultValue: smtp.gmail.com
        - id: $$cap_email_port
          label: Email SMTP Port
          description: 'Port used with the smtp server. More info: https://help.passbolt.com/configure/email/setup'
          defaultValue: '587'
        - id: $$cap_email_user
          label: Email Username
          defaultValue: [email protected]
        - id: $$cap_email_pass
          label: Email Password
          defaultValue: password
        - id: $$cap_email_tls
          label: TLS Enabled
          defaultValue: 'true'
    instructions:
        start: >-
            Passbolt is a free and open source password manager that allows team members to store and share credentials securely.

            Enter your Passbolt configuration parameters and click on next. A MariaDB (database) and a Passbolt container will be created for you.  The process will take about a minute for the process to finish.
        end: >-
            Passbolt is deployed and available as $$cap_appname-pb . 

            IMPORTANT: It will take up to 2 minutes for Passbolt to be ready. Before that, you might see a 502 error page.

            Note: Once the container is running create your first admin user running the following command in the terminal:


            $ docker exec <containerID> su -m -c '/usr/share/php/passbolt/bin/cake passbolt register_user -u [email protected] -f yourname -l surname -r admin' -s /bin/sh www-data


            This registration command will return a single use url required to continue the web browser setup and finish the registration. Your passbolt instance should be available browsing https://yourdomain.com
    displayName: Passbolt (MariaDB)
    isOfficial: true
    description: Passbolt is a free and open source password manager that allows team members to store and share credentials securely.
    documentation: Taken from https://hub.docker.com/r/passbolt/passbolt.