2016-03-22 16:25:57 +00:00
|
|
|
traefik:
|
2016-04-07 13:36:48 +00:00
|
|
|
image: traefik
|
2018-02-05 14:04:02 +00:00
|
|
|
command: -c /dev/null --api --docker --docker.domain=docker.localhost --logLevel=DEBUG
|
2016-03-22 16:25:57 +00:00
|
|
|
ports:
|
|
|
|
- "80:80"
|
|
|
|
- "8080:8080"
|
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
|
|
|
|
whoami1:
|
2019-01-18 14:18:04 +00:00
|
|
|
image: containous/whoami
|
2016-03-22 16:25:57 +00:00
|
|
|
labels:
|
|
|
|
- "traefik.backend=whoami"
|
|
|
|
- "traefik.frontend.rule=Host:whoami.docker.localhost"
|
|
|
|
|
|
|
|
whoami2:
|
2019-01-18 14:18:04 +00:00
|
|
|
image: containous/whoami
|
2016-03-22 16:25:57 +00:00
|
|
|
labels:
|
|
|
|
- "traefik.backend=whoami"
|
|
|
|
- "traefik.frontend.rule=Host:whoami.docker.localhost"
|