Use the exposed port
This commit is contained in:
parent
5b7ee79c5d
commit
886fb51ed6
@ -20,7 +20,7 @@ services:
|
||||
- node.role == manager
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.services.traefik.loadbalancer.server.port=web"
|
||||
- "traefik.http.services.traefik.loadbalancer.server.port=:4000"
|
||||
- "traefik.http.routers.traefik.rule=Host(`site.swarm.autonomic.zone`)"
|
||||
- "traefik.http.routers.traefik.entrypoints=web-secure"
|
||||
- "traefik.http.routers.traefik.tls.certresolver=staging"
|
||||
|
Reference in New Issue
Block a user