name: helium-qbittorrent services: qbittorrent: image: sodium/qbittorrent-nox:5.2.3-lt2-1-proxy-listen-amd64 environment: PUID: "1000" PGID: "1000" TZ: Etc/UTC WEBUI_PORT: "8081" TORRENTING_PORT: "6881" command: ["--webui-port=8081", "--confirm-legal-notice"] volumes: - ./config:/config # This is deliberately one parent mount. Archive Control maps both the # qB and Syncthing subtrees through the same mount namespace. - /media/Data2:/downloads ports: # Keep the published and internal WebUI ports identical: qBittorrent # rejects a forwarded request whose Host header carries a different port. - "127.0.0.1:8081:8081" - "6881:6881/tcp" - "6881:6881/udp" restart: unless-stopped