Long time 20 year plus linux user and 8 year plus docker user here.
I followed your steps exactly to setup Passbolt on docker: GitHub - passbolt/passbolt_api: Passbolt CE Backend, a JSON API written with Cakephp
However after I do my docker compose up on the file the mariaDB image pulls and comes up fine. But I see 2 issues:
- The GPG key is still the default and specifically for the docker install there are no directions to change it:
passbolt_1 | gpg: key 2C8D8DFDA83D2E28: “Passbolt default user email@example.com” not changed
- Once the DB is up it looks like it it either not taking my custom passwords from the /env/mysql.env and/or /env/passbolt.env file.
passbolt_1 | Exception: SQLSTATE[HY000]  Access denied for user ‘passbolt’@‘172.24.0.3’ (using password: YES) in [/usr/share/php/passbolt/vendor/cakephp/cakephp/src/Database/Driver.php, line 93]
db_1 | 2021-04-09 16:58:52 12 [Warning] Access denied for user ‘passbolt’@‘172.24.0.3’ (using password: YES)
My host OS is:
CentOS Linux release 8.3.2011
Docker CE: Docker version 20.10.1, build 831ebea
It should be noted that I have to run the ports for the web services for Passbolt on customer ports which I changed in the env file.
Appreciate any help from the community.