Relative Content

Tag Archive for mongodbdocker-composetraefik

Bind mongodb replicaset behind Traefik proxy server with TLS

I have mongodb replicaset with Traefik. I configured the mongodb with 3 instances using docker compose (I do understant that is not optimal with all mongo instances in one server – let us skip that part). I want to use Traefik as a proxy server to support TCP security with letsencrypts. I managed to configure my websites with TLS but I am unable to connect to mongodb via mongo compass application. All instances using Traefik network.