passbolt / passbolt_docker

Get started with Passbolt CE using docker!
https://passbolt.com
GNU Affero General Public License v3.0
876 stars 193 forks source link

not working with bind volumes #204

Closed marciifee closed 1 year ago

marciifee commented 1 year ago

hi, if i try to bind the volumes. i get an error:

2023-06-24 17:34:34 error: [Cake\Database\Exception\MissingConnectionException] Connection to Mysql could not be established: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for "192.168.5.252" failed: Name or service not known in /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Database/Driver.php on line 133 Caused by: [PDOException] SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for "192.168.5.252" failed: Name or service not known in /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Database/Driver.php on line 121 Caused by: [PDOException] PDO::__construct(): php_network_getaddresses: getaddrinfo for "192.168.5.252" failed: Name or service not known in /usr/share/php/passbolt/vendor/cakephp/cakephp/src/Database/Driver.php on line 121 2023-06-24 17:34:34 error: Could not connect to Database.

it can't find the mysql db with the ip 192.168.5.252 and port 3306 it's both set in the compose.yaml

i have modify the my volumes, like this: volumes:

an i set also a new static network ip address, but nothing works. i also tried with an external mariadb hosted, same error, no connection.

dlen commented 1 year ago

Hi @marciifee,

This looks like a configuration issue, please open a thread in our community forum (https://community.passbolt.com)