This commit is contained in:
mathieu 2024-05-17 23:53:47 +02:00
parent 37e0e7c512
commit 714d474f00

View File

@ -21,8 +21,7 @@ services:
# A container that exposes an API to show its IP address # A container that exposes an API to show its IP address
image: traefik/whoami image: traefik/whoami
labels: labels:
- "traefik.http.routers.whoami.rule=Host(`whoami.docker.local`)" - "traefik.http.routers.whoami.rule=Path(`/whoami`)"
- "traefik.http.routers.nginxtest.entrypoints=web"
networks: networks:
web: web: