2016-03-22 16:25:57 +00:00
|
|
|
traefik:
|
2016-04-07 13:36:48 +00:00
|
|
|
image: traefik
|
2016-03-22 16:25:57 +00:00
|
|
|
command: --web --docker --docker.domain=docker.localhost --logLevel=DEBUG
|
|
|
|
ports:
|
|
|
|
- "80:80"
|
|
|
|
- "8080:8080"
|
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
- /dev/null:/traefik.toml
|
|
|
|
|
|
|
|
whoami1:
|
|
|
|
image: emilevauge/whoami
|
|
|
|
labels:
|
|
|
|
- "traefik.backend=whoami"
|
|
|
|
- "traefik.frontend.rule=Host:whoami.docker.localhost"
|
|
|
|
|
|
|
|
whoami2:
|
|
|
|
image: emilevauge/whoami
|
|
|
|
labels:
|
|
|
|
- "traefik.backend=whoami"
|
|
|
|
- "traefik.frontend.rule=Host:whoami.docker.localhost"
|