services: qbittorrent: labels: - "traefik.enable=true" - "traefik.http.routers.qbittorrent-web.rule=Host(`torrent.skrd.fun`)" - "traefik.http.routers.qbittorrent-web.entrypoints=web" - "traefik.http.routers.qbittorrent-web.middlewares=redirect-to-https@file" - "traefik.http.routers.qbittorrent.rule=Host(`torrent.skrd.fun`)" - "traefik.http.routers.qbittorrent.entrypoints=websecure" - "traefik.http.routers.qbittorrent.middlewares=crowdsec@file" - "traefik.http.routers.qbittorrent.tls.certresolver=cf" - "traefik.http.services.qbittorrent.loadbalancer.server.port=${WEBUI_PORT}" networks: default: name: traefik external: true