diff --git a/Proxy_Containers/traefik/compose.yaml b/Proxy_Containers/traefik/compose.yaml index 4919a85..5faa862 100644 --- a/Proxy_Containers/traefik/compose.yaml +++ b/Proxy_Containers/traefik/compose.yaml @@ -19,10 +19,21 @@ services: networks: - traefik labels: - - flame.type=application # "app" works too - - flame.name=traefik - - flame.url=http://${IP}:8079 - - flame.icon=https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/traefik-proxy.svg # optional, default is "docker" + - "traefik.enable=true" + - "traefik.http.routers.traefik.entrypoints=web" + - "traefik.http.routers.traefik.rule=Host(`traefik-dashboard.home.gabesville.com`)" + - "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 networks: traefik: