expose traefik dashboard on separate local port
This commit is contained in:
parent
7696a28d48
commit
08458532b8
1 changed files with 8 additions and 2 deletions
|
@ -17,15 +17,19 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- 443:443
|
- 443:443
|
||||||
- 80:80
|
- 80:80
|
||||||
- 8080:8080
|
- 444:444
|
||||||
deploy:
|
deploy:
|
||||||
placement:
|
placement:
|
||||||
constraints: [node.labels.traefik == true]
|
constraints: [node.labels.traefik == true]
|
||||||
labels:
|
labels:
|
||||||
- traefik.enable=true
|
- traefik.enable=true
|
||||||
- traefik.http.routers.dashboard.rule=Host(`maestro.dmz`)
|
- traefik.http.routers.dashboard.entrypoints=localsecure
|
||||||
|
- traefik.http.routers.dashboard.rule=Host(`traefik.pim.kunis.nl`)
|
||||||
- traefik.http.routers.dashboard.service=api@internal
|
- traefik.http.routers.dashboard.service=api@internal
|
||||||
- traefik.http.services.dummy-svc.loadbalancer.server.port=8080
|
- traefik.http.services.dummy-svc.loadbalancer.server.port=8080
|
||||||
|
- traefik.http.routers.dashboard.tls=true
|
||||||
|
- traefik.http.routers.dashboard.tls.certresolver=letsencrypt
|
||||||
|
- traefik.docker.network=traefik
|
||||||
|
|
||||||
- traefik.http.routers.esrom.entrypoints=websecure
|
- traefik.http.routers.esrom.entrypoints=websecure
|
||||||
- traefik.http.routers.esrom.service=esrom@file
|
- traefik.http.routers.esrom.service=esrom@file
|
||||||
|
@ -62,6 +66,8 @@ services:
|
||||||
|
|
||||||
- --entrypoints.websecure.address=:443
|
- --entrypoints.websecure.address=:443
|
||||||
|
|
||||||
|
- --entrypoints.localsecure.address=:444
|
||||||
|
|
||||||
- --certificatesresolvers.letsencrypt.acme=true
|
- --certificatesresolvers.letsencrypt.acme=true
|
||||||
- --certificatesresolvers.letsencrypt.acme.email=pim@kunis.nl
|
- --certificatesresolvers.letsencrypt.acme.email=pim@kunis.nl
|
||||||
- --certificatesresolvers.letsencrypt.acme.httpchallenge=true
|
- --certificatesresolvers.letsencrypt.acme.httpchallenge=true
|
||||||
|
|
Reference in a new issue