traefik host

This commit is contained in:
Yax 2020-06-27 20:42:04 +02:00
parent 40bd9df651
commit 335b30afd3
6 changed files with 4 additions and 88 deletions

View file

@ -15,7 +15,7 @@ services:
- 9000
labels:
- traefik.enable=true
- traefik.http.routers.portainer.rule=Host(`${SITE}`) && Path(`/console`)
- traefik.http.routers.portainer.rule=Host(`portainer.${SITE}`)
- traefik.http.routers.portainer.entrypoints=web
- traefik.http.services.portainer.loadbalancer.server.port=9000