Hello, I have passbolt up and running with the docker instalation. Now, to avoid conflicts with other things on the server (that are not running in docker containers) I want to change the port from 80 to 9009. I have tried this command to start my docker:
docker run -d --name passbolt --net passbolt_network -p 443:443 -p 9009:80 --mount source=passbolt_images_volume,target=/var/www/passbolt/webroot/img/public -e DATASOURCES_DEFAULT_HOST=mariadb -e DATASOURCES_DEFAULT_PASSWORD=plouifasol -e DATASOURCES_DEFAULT_USERNAME=passbolt_user -e DATASOURCES_DEFAULT_DATABASE=passbolt_db -e APP_FULL_BASE_URL=http://192.168.8.241:9009 -e EMAIL_DEFAULT_FROMemail@example.com -e EMAIL_TRANSPORT_DEFAULT_HOST=smtp.server.com -e EMAIL_TRANSPORT_DEFAULT_PORT=587 -e EMAIL_TRANSPORT_DEFAULT_TLS=true -e EMAIL_TRANSPORT_DEFAULT_USERNAMEfirstname.lastname@example.org -e EMAIL_TRANSPORT_DEFAULT_PASSWORD=MY.password passbolt/passbolt:latest
When I go to a browser and type
http://192.168.8.241:9009 (note that I am using http and not https) I see the recovery page, and after recovering the account I can see the login page. However, it does not login (although the password is right). After login, it sends me back to the login page. I have tried setting the
APP_FULL_BASE_URL environment variable to
http**s**://192.168.8.241:9009 but then I cannot even see the webpages.
Obviously, this is not a server port issue as I can see with the
sudo ufw status of the host machine that port
9009 is open for both TCP and UDP.
Any idea on how to solve this? Passbolt is amazing but if I cannot change the port where it runs it will be a big issue.