"DATASOURCES_DEFAULT_HOST" is ignored [modify wait-for]

Hi folks,

I am trying to install passbolt on a ubuntu x64 machine with docker compose. I have renamed the “db” service to “passboltdb” in my compose file. To make passbolt find its db i set the environment variable “DATASOURCES_DEFAULT_HOST” to “passboltdb”. But when i run it, passbolt is still trying to connecto to “db:3306”, as i can see in the log file (wait-for.sh: waiting for db:3306 without a timeout)

Could this be a bug? I really dont want to name the passbolt docker service only “db”.

Regards
Andre

Hi @andre,

You can edit the command for passbolt service and replace db:3306 with passboltdb:3306

Cheers,

2 Likes

Hi @AnatomicJC ,

hell yeah, worked instantly. Was hard to see, thanks!

2 Likes