mirror of
https://github.com/containous/traefik.git
synced 2024-12-25 23:21:40 +03:00
36338b4928
Signed-off-by: Emile Vauge <emile@vauge.com>
20 lines
488 B
YAML
20 lines
488 B
YAML
traefik:
|
|
image: traefik
|
|
command: -c /dev/null --web --docker --docker.domain=docker.localhost --logLevel=DEBUG
|
|
ports:
|
|
- "80:80"
|
|
- "8080:8080"
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
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" |