Hello Everyone!
Traefik version 2.9.6.
The issue I'm having is I have a docker label that doesn't appear to be getting honored, and I'm not 100% sure why.
I have this occurring to three different docker compose files for three different services, so I'll share one of them here.
version: '3.5'
services:
jellyfin:
image: jellyfin/jellyfin:latest
container_name: jellyfin
networks:
- proxy
volumes:
- "$APP_HOME/config:/config"
- "$APP_HOME/cache:/cache"
- "/media/media:/media"
restart: 'unless-stopped'
labels:
- "traefik.enable=true"
- "traefik.http.routers.$APP_NAME.entrypoints=http"
- "traefik.http.routers.$APP_NAME.rule=Host(`$APP_NAME.local.domain.com`)"
- "traefik.http.middlewares.$APP_NAME-https-redirect.redirectscheme.scheme=https"
- "traefik.http.routers.$APP_NAME.middlewares=$APP_NAME-https-redirect"
- "traefik.http.routers.$APP_NAME-secure.entrypoints=https"
- "traefik.http.routers.$APP_NAME-secure.rule=Host(`$APP_NAME.local.domain.com`)"
- "traefik.http.routers.$APP_NAME-secure.tls=true"
- "traefik.http.routers.$APP_NAME-secure.service=$APP_NAME"
- "traefik.http.services.$APP_NAME.loadbalancer.server.port=8096"
- "traefik.http.routers.$APP_NAME-external.entrypoints=http"
- "traefik.http.routers.$APP_NAME-external.rule=Host(`$APP_NAME.domain.com`)"
- "traefik.http.middlewares.$APP_NAME-external-https-redirect.redirectscheme.scheme=https"
- "traefik.http.routers.$APP_NAME-external.middlewares=$APP_NAME-external-https-redirect"
- "traefik.http.routers.$APP_NAME-external-secure.entrypoints=https"
- "traefik.http.routers.$APP_NAME-external-secure.rule=Host(`$APP_NAME.domain.com`)"
- "traefik.http.routers.$APP_NAME-external-secure.tls=true"
- "traefik.http.routers.$APP_NAME-external-secure.service=$APP_NAME-external"
- "traefik.http.services.$APP_NAME-external.loadbalancer.server.port=8096"
- "traefik.docker.network=proxy"
networks:
proxy:
external: true
This is what the Traefik dashboard shows for routers:
This is what the Traefik dashboard shows for middlewares:
As you can see, both HTTP entry points are not active.
Is there something I am misusing that is causing this?
Thank you for any responses!