traefik/integration/resources/compose/minimal.yml

12 lines
329 B
YAML
Raw Normal View History

version: "3.8"
services:
whoami1:
image: traefik/whoami
labels:
traefik.http.routers.router-mini.Rule: PathPrefix(`/whoami`)
traefik.http.routers.router-mini.service: service-mini
traefik.http.services.service-mini.loadbalancer.server.port: 80
traefik.enable: true
deploy:
replicas: 2