services: qbittorrent: image: lscr.io/linuxserver/qbittorrent:latest environment: - PUID=1000 - PGID=1000 - TZ=America/Santiago - WEBUI_PORT=80 - TORRENTING_PORT=6881 ports: - "6881:6881" volumes: - /srv/dev-disk-by-uuid-1582b800-1f82-407a-a3aa-3460b3390127/docker/qbittorrent:/config:/config - /srv/dev-disk-by-uuid-1582b800-1f82-407a-a3aa-3460b3390127/downloads:/downloads restart: unless-stopped 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.tls.certresolver=cf" - "traefik.http.services.qbittorrent.loadbalancer.server.port=80" networks: default: name: traefik external: true