Metabase & postgresql

Hi,

I am unable to connect metabase to my postgres database that is hosted on docker.

I keep getting connection attempt failed. Initially I was getting "the host and the port were not correct"

Is there any trick to solving this?

Hi @Stephh
So you are likely having networking problems. https://docs.docker.com/network/
Make sure that both Metabase and Postgres containers can see each other and Metabase is able to connect to Postgres.