2021-11-25 10:10:06 +00:00
|
|
|
version: "3.8"
|
|
|
|
services:
|
|
|
|
whoami1:
|
|
|
|
image: traefik/whoami
|
|
|
|
labels:
|
|
|
|
traefik.enable: true
|
|
|
|
traefik.http.routers.router1.rule: PathPrefix(`/whoami`)
|
|
|
|
traefik.http.routers.router2.rule: PathPrefix(`/whoami2`)
|
2018-02-16 10:04:04 +00:00
|
|
|
|
2021-11-25 10:10:06 +00:00
|
|
|
whoami2:
|
|
|
|
image: traefik/whoami
|
|
|
|
labels:
|
|
|
|
traefik.enable: false
|
|
|
|
|
|
|
|
networks:
|
|
|
|
default:
|
|
|
|
name: traefik-test-network
|
|
|
|
external: true
|