Docker image and docker-compose sample configuration to bring up a Passbolt Service to the Docker Generic Platform (GP).
The service is formed by two containers:
- passbolt: based on passbolt/passbolt docker image.
- passboltdb: based on MariaDB databasse docker image.
-
Create the
passbolt.envandmysql.envfiles based on the template ones and configure the appropiate keys$ cp passbolt.env.dist passbolt.env $ cp mysql.env.dist mysql.env $ grep PUT *.env mysql.env.dist:MYSQL_ROOT_PASSWORD=[PUT_YOUR_MYSQL_ROOT_PASSWORD_HERE] mysql.env.dist:MYSQL_PASSWORD=[PUT_YOUR_MYSQL_PASSBOLT_PASSWORD_HERE] passbolt.env.dist:APP_FULL_BASE_URL=[PUT_YOUR_BASE_URL_HERE] passbolt.env.dist:DATASOURCES_DEFAULT_PASSWORD=[PUT_YOUR_MYSQL_PASSBOLT_PASSWORD_HERE] $ vim passbolt.env [...] $ vim mysql.env [...] $ grep PUT *.env mysql.env.dist:MYSQL_ROOT_PASSWORD=root_password mysql.env.dist:MYSQL_PASSWORD=passbolt_password passbolt.env.dist:APP_FULL_BASE_URL=https://localhost:10443 passbolt.env.dist:DATASOURCES_DEFAULT_PASSWORD=passbolt_password
-
Use the
docker-compose.yml.samplefile as your docker-compose configuration file. -
Install assets with
devcontrol assets-install. -
Start with
docker-compose up -d. -
Open the url https://localhost:10443 in a browser to access to the Passbolt gui and complete the configuration.
-
Manage backups of your files:
- Make a backup executing
docker-compose exec passbolt backup. - Find the current backup within the
/var/backups/gp/passbolt/of the container. - Extract the current backup executing
docker cp $(docker-compose ps -q passbolt):/var/backups/gp gp.
- Make a backup executing
-
Stop the platform with
docker-compose stop.
You should create the admin user following the docker setup instructions
$ docker-compose exec passbolt su -m -c "/var/www/passbolt/bin/cake \
> passbolt register_user \
> -u user@example.com \
> -f User \
> -l Example \
> -r admin" -s /bin/sh www-data
____ __ ____
/ __ \____ _____ ____/ /_ ____ / / /_
/ /_/ / __ `/ ___/ ___/ __ \/ __ \/ / __/
/ ____/ /_/ (__ |__ ) /_/ / /_/ / / /
/_/ \__,_/____/____/_.___/\____/_/\__/
Open source password manager for teams
---------------------------------------------------------------
User saved successfully.
To start registration follow the link in provided in your mailbox or here:
https://example.com/setup/install/07a24404-db6d-427b-b749-cdb884e54f5e/49733fb8-0ae3-4b37-8581-639f22e21d60There is one volume created with the database. All data and configuration are on those volumes, so never delete it.
$ docker volume ls|grep "passbolt\|VOLUME"
DRIVER VOLUME NAME
local passbolt_databaseYou can use this docker piece with the Docker Generic Platform project.
None known