Traefik Docker


Traefik is an open-source Edge Router that makes publishing your services a fun and easy experience. It receives requests on behalf of your system and finds out which components are responsible for handling them.

Docker Compose

  • traefik.yml
  • traefik.yaml


Quick Start

You can open a browser and go to http://localhost:8080/api/rawdata to see Traefik’s API rawdata


docker-compose -f traefik-whoami.yml up -d
curl -H Host:whoami.docker.localhost
docker-compose -f traefik-whoami.yml up -d --scale whoami=2
curl -H Host:whoami.docker.localhost