Add traefik labels
This commit is contained in:
parent
4004b4564d
commit
e7d814051b
6 changed files with 19 additions and 26 deletions
|
|
@ -7,6 +7,15 @@ services:
|
|||
restart: unless-stopped
|
||||
networks:
|
||||
- proxy-network
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.homepage.rule=Host(`www.yanlincs.com`) || Host(`www.ylresearch.com`)"
|
||||
- "traefik.http.routers.homepage.tls=true"
|
||||
- "traefik.http.routers.homepage.tls.certresolver=cloudflare"
|
||||
- "traefik.http.routers.homepage.tls.domains[0].main=*.yanlincs.com"
|
||||
- "traefik.http.routers.homepage.tls.domains[1].main=*.ylresearch.com"
|
||||
- "traefik.http.services.homepage.loadbalancer.server.port=80"
|
||||
|
||||
|
||||
networks:
|
||||
proxy-network:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue