Q&A of Traefik Online Meetup #1: Keep the Routing Simple
Question: Doesn’t the web container need to use dynamic ports, and not port 80?
Answer: A container doesn’t need to publish/forward to any port on the outside. It listens on a port, for example, port 80, from its own private IP address, inside the Docker private network. The value of Traefik is to route requests from the outside on a chosen port, for example, port 80 or 443, of the public address, to the private IP address of the web server. Traefik watches for Docker’s API to get this private IP, and for any change of this private IP (e.g. on a container reboot). Also, you can have as many containers as you want, listening on their own port 80 without any conflict: useful for blue/green deployments, for example. You can find more information here: https://docs.Traefik.io/v1.7/basics/#concepts.
Question: Could you create the Jenkins link also with a
Host:jenkins.demo.containous.cloud, and no other option (i.e. no tweak on Jenkins, no