2021-11-25 10:10:06 +00:00
|
|
|
version: "3.8"
|
|
|
|
services:
|
|
|
|
whoami1:
|
|
|
|
image: traefik/whoami
|
|
|
|
labels:
|
2024-01-09 16:00:07 +00:00
|
|
|
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
|
2021-11-25 10:10:06 +00:00
|
|
|
traefik.enable: true
|
|
|
|
deploy:
|
|
|
|
replicas: 2
|