Morning guys,
I found this related issue but not working at all: Docker Compose installation
I try to prune volumens in every change:
docker-compose down
docker-compose rm
docker volume prune
docker images | grep mariadb | awk ‘{print $3}’ | xargs docker rmi
docker images | grep passbolt | awk ‘{print $3}’ | xargs docker rmi
I made some test addding “restart: always” and it makes it but nothing else change. Throws this two errors:
Exception: SQLSTATE[HY000] [2002] No route to host in [/var/www/passbolt/vendor/cakephp/cakephp/src/Database/Driver.php, line 92]
Exception: There was a problem connecting to the database: SQLSTATE[HY000] [2002] No route to host in [/var/www/passbolt/vendor/robmorgan/phinx/src/Phinx/Db/Adapter/MysqlAdapter.php, line 127]
I try to made some changues on the docker-compose.yml deleting “command” line or adding others that i found in the other post:
command:
- /bin/bash
- -c
- |
sleep 30
/docker-entrypoint.sh
or
command: ["/docker-entrypoint.sh"]
But not sure if when you say in the other post “Could you try overriding the command on docker-compose.sh” if you refer to a different file and not the “docker-compose.yml”
Thanks for your time!