When external traffic needs to reach containerized applications, an entrypoint gives Traefik a named listening port. Published container ports commonly map HTTP to 80, HTTPS to 443, and the dashboard to 8080. section 20.4
An entrypoint works as the front door for Traefik’s routing pipeline:
- Receives traffic on a published port. section 20.4
- Passes requests to routers, which match hostnames and paths before forwarding them to services. section 20.4
# remove nginx and the app containers: docker container rm -f $(docker container ls -aq) # start Traefik - connecting to a Linux Docker Engine: docker compose -f traefik/docker-compose.yml ` -f traefik/override-linux.yml up -d # OR using Windows containers: docker-compose -f traefik/docker-compose.yml ` -f traefik/override-windows.yml up -d # browse to http:/./localhost:8080
Start Traefik with Docker Compose, open its dashboard on port 8080, and inspect the configuration used for proxied applications. section 20.4
