version: "3" services: qbittorrent: image: linuxserver/qbittorrent container_name: qbittorrent_qbittorrent logging: driver: loki options: loki-url: http://localhost:3100/loki/api/v1/push loki-batch-size: "50" loki-retries: "1" loki-timeout: "2s" keep-file: "true" deploy: resources: limits: memory: 6G networks: - web restart: "no" volumes: - $DOCKER_DATA:/config - $TORRENT_DATA:/torrenting env_file: - qbittorrent.env ports: - 50000:50000 labels: - traefik.http.routers.qbt.rule=Host(`qbt.jafner.net`) - traefik.http.routers.qbt.tls.certresolver=lets-encrypt - traefik.http.routers.qbt.middlewares=traefik-forward-auth@file - traefik.http.services.qbt.loadbalancer.server.port=8080 # - traefik.http.routers.qbt.priority=10 # - traefik.http.routers.qbt-auth.rule=Host(`qbt.jafner.net`) && PathPrefix(`/outpost.goauthentik.io/`) # - traefik.http.routers.qbt-auth.priority=15 # - traefik.http.routers.qbt-auth.service=authentik-auth@file networks: web: external: true