How do I connect docker passbolt to db outside of container?


how can I connect my passbolt container to my existing database,
Is it possible to use unix/socket as well ?


Hey @NoppoN welcome to the forum!

You can connect to a database other than the one included in the docker-compose file by editing the docker compose file. There is a full list of environment variables you can change listed here.

The ones you’ll want for this are the ones starting with DATASOURCES_DEFAULT_

I haven’t tried mixing docker with a socket for a connection, but this stack overflow post does seem to imply it is possible though not very straight forward and probably not the best way to go about it.