Metabase docker towards Postres with SSL

I’m running metabase in a docker container and a postgres instance on my localhost. But the connection with SSL unfortunately fails and I have no idea why. From the pg admin client on windows I can perfectly connect to the db over SSL but from the docker container not. To launch the container, I’m using the following command:
docker run -d -p 3000:3000
-e “MB_DB_TYPE=postgres”
-e “MB_DB_DBNAME=metabase”
-e “MB_DB_PORT=5432”
-e “MB_DB_USER="
-e "MB_DB_PASS=

-e “MB_DB_HOST=**”
–name metabase metabase/metabase

What could cause this issue?

Where do you set up your SSL? Obviously not when you run the container.
I found this useful: https://github.com/metabase/metabase/issues/4558