update for traefik dashboard
Some checks are pending
PVE2 Infrastructure Deploy / terraform (push) Waiting to run
Some checks are pending
PVE2 Infrastructure Deploy / terraform (push) Waiting to run
This commit is contained in:
parent
11bd467fe5
commit
d132319ca9
1 changed files with 10 additions and 1 deletions
|
|
@ -57,4 +57,13 @@ services:
|
|||
volumes:
|
||||
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
||||
- "/docker/traefik/letsencrypt:/letsencrypt"
|
||||
- "/docker/traefik/dynamic:/etc/traefik/dynamic"
|
||||
- "/docker/traefik/dynamic:/etc/traefik/dynamic"
|
||||
labels:
|
||||
# 1. Catch requests for 'traefik.mapletree.email'
|
||||
- "traefik.http.routers.dashboard.rule=Host(`traefik.mapletree.email`)"
|
||||
# 2. Send them to the internal API service (Magic Service)
|
||||
- "traefik.http.routers.dashboard.service=api@internal"
|
||||
# 3. Use HTTPS
|
||||
- "traefik.http.routers.dashboard.entrypoints=websecure"
|
||||
- "traefik.http.routers.dashboard.tls=true"
|
||||
- "traefik.http.routers.dashboard.tls.certresolver=dns_resolver"
|
||||
Loading…
Reference in a new issue