Like traefik? https://doc.traefik.io/traefik/providers/docker/
While this can be achieved using Traefik, it requires some creative combinations of static + dynamic configuration to get my_container.example.com with HTTPS and HTTP → HTTPS redirects and Let’s Encrypt. The container labels are a PITA.
I’m not sure there’s an easier solution though.
Try this, its pretty easy, but it depends on the docker socket.
https://github.com/nginx-proxy/nginx-proxy