traefik/integration/resources/compose/base.yml
2021-04-30 10:22:04 +02:00

11 lines
265 B
YAML

whoami1:
image: traefik/whoami
labels:
- traefik.enable=true
- traefik.http.routers.router1.rule=PathPrefix("/whoami")
- traefik.http.routers.router2.rule=PathPrefix("/whoami2")
whoami2:
image: traefik/whoami
labels:
- traefik.enable=false