Update Proxy_Containers/traefik/compose.yaml
This commit is contained in:
@@ -19,10 +19,21 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- traefik
|
- traefik
|
||||||
labels:
|
labels:
|
||||||
- flame.type=application # "app" works too
|
- "traefik.enable=true"
|
||||||
- flame.name=traefik
|
- "traefik.http.routers.traefik.entrypoints=web"
|
||||||
- flame.url=http://${IP}:8079
|
- "traefik.http.routers.traefik.rule=Host(`traefik-dashboard.home.gabesville.com`)"
|
||||||
- flame.icon=https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/traefik-proxy.svg # optional, default is "docker"
|
- "traefik.http.middlewares.traefik-auth.basicauth.users=USER:BASIC_AUTH_PASSWORD"
|
||||||
|
- "traefik.http.middlewares.traefik-https-redirect.redirectscheme.scheme=https"
|
||||||
|
- "traefik.http.middlewares.sslheader.headers.customrequestheaders.X-Forwarded-Proto=https"
|
||||||
|
- "traefik.http.routers.traefik.middlewares=traefik-https-redirect"
|
||||||
|
- "traefik.http.routers.traefik-secure.entrypoints=websecure"
|
||||||
|
- "traefik.http.routers.traefik-secure.rule=Host(`traefik-dashboard.home.gabesville.com`)"
|
||||||
|
- "traefik.http.routers.traefik-secure.middlewares=traefik-auth"
|
||||||
|
- "traefik.http.routers.traefik-secure.tls=true"
|
||||||
|
- "traefik.http.routers.traefik-secure.tls.certresolver=cloudflare"
|
||||||
|
- "traefik.http.routers.traefik-secure.tls.domains[0].main=home.gabesville.com"
|
||||||
|
- "traefik.http.routers.traefik-secure.tls.domains[0].sans=*.home.gabesville.com"
|
||||||
|
- "traefik.http.routers.traefik-secure.service=api@internal"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
traefik:
|
traefik:
|
||||||
|
|||||||
Reference in New Issue
Block a user