diff options
| author | Kasra Bigdeli <[email protected]> | 2020-08-16 20:02:16 -0400 |
|---|---|---|
| committer | Kasra Bigdeli <[email protected]> | 2020-08-16 20:03:15 -0400 |
| commit | 0e70ec541e7441b71460db230975d4614473ed6d (patch) | |
| tree | 6e8bafcd18f41d09bc893dc75f36398a0c1f7dde /public/v4/apps/passbolt.yml | |
| parent | 83103a180914dff274188594132c1395f12a1645 (diff) | |
| download | caprover-one-click-apps-0e70ec541e7441b71460db230975d4614473ed6d.tar.gz caprover-one-click-apps-0e70ec541e7441b71460db230975d4614473ed6d.zip | |
migrate to v4
Diffstat (limited to 'public/v4/apps/passbolt.yml')
| -rw-r--r-- | public/v4/apps/passbolt.yml | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/public/v4/apps/passbolt.yml b/public/v4/apps/passbolt.yml new file mode 100644 index 0000000..357c2cd --- /dev/null +++ b/public/v4/apps/passbolt.yml @@ -0,0 +1,87 @@ +captainVersion: 4 +services: + $$cap_appname-db: + image: mariadb:10.3 + 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:2.12.1-debian + 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_TRANSPORT_DEFAULT_FROM: $$cap_email_user + EMAIL_TRANSPORT_DEFAULT_PASSWORD: $$cap_email_pass + EMAIL_TRANSPORT_DEFAULT_TLS: $$cap_email_tls + volumes: + - $$cap_appname-gpg:/var/www/passbolt/config/gpg + - $$cap_appname-images:/var/www/passbolt/webroot/img/public +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: 2.12.1-debian + description: Check out their Docker page for the valid tags https://hub.docker.com/r/passbolt/passbolt/tags/ + - 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 '/var/www/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 + 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. |
