######################################## # qbittorrentvpn - https://hub.docker.com/r/dyonr/qbittorrentvpn # Client with WebUI that connects to OpenVPN with iptables killswitch to # prevent IP leakage when the tunnel goes down ######################################## services: qbittorrentvpn: container_name: torrent privileged: true image: dyonr/qbittorrentvpn environment: - VPN_ENABLED=true - VPN_USERNAME=${VPN_USERNAME} - VPN_PASSWORD=${VPN_PASSWORD} - LAN_NETWORK=10.0.0.0/24 - WEBUI_PORT_ENV=8080 - INCOMING_PORT_ENV=8999 - TZ=America/New_York ports: - 8181:8080 - 8999:8999 - 8999:8999/udp volumes: - ${QBITTORRENT_DATA}/config:/config - ${QBITTORRENT_DATA}/theme:/theme - downloads_nfs:/downloads restart: unless-stopped networks: - frontend networks: frontend: external: true # Or define it if it's not external volumes: downloads_nfs: name: downloads_nfs driver_opts: type: nfs o: addr=truenas,nolock,soft,rw device: :/mnt/store/vault/MediaServer/downloads