diff --git a/qbittorrent/README.md b/qbittorrent/README.md new file mode 100644 index 0000000..937e91b --- /dev/null +++ b/qbittorrent/README.md @@ -0,0 +1,14 @@ +# qbittorrent + +https://github.com/Trigus42/alpine-qbittorrentvpn + +## WireGuard + +The container will fail to boot if VPN_ENABLED is set and there is no valid INTERFACE.conf file present in the /config/wireguard directory. Drop a .conf file from your VPN provider into /config/wireguard and start the container again. + + Recommended INTERFACE names include wg0 or wgvpn0 or even wgmgmtlan0. However, the number at the end is in fact optional, and really any free-form string [a-zA-Z0-9_=+.-]{1,15} will work. So even interface names corresponding to geographic locations would suffice, such as cincinnati, nyc, or paris, if that's somehow desirable. [source] + + + +## Ensure Permissions +chmod 600 /path/to/wg0.conf diff --git a/qbittorrent/docker-compose.yml b/qbittorrent/docker-compose.yml new file mode 100644 index 0000000..6be9d64 --- /dev/null +++ b/qbittorrent/docker-compose.yml @@ -0,0 +1,23 @@ +version: "3.3" + +# Username Admin + +services: + qbittorrent: + image: trigus42/qbittorrentvpn + container_name: qbittorrent + environment: + - VPN_TYPE=wireguard + - WEBUI_PASSWORD=${QBIT_PASSWORD:-ChangeMePass} + volumes: + - './data/config/:/config' + - './data/downloads/:/downloads' + - './data/incomplete/:/incomplete' + - '/dev/net/tun:/dev/net/tun' + ports: + - 8080:8080 + restart: unless-stopped + cap_add: + - NET_ADMIN + sysctls: + - net.ipv4.conf.all.src_valid_mark=1 \ No newline at end of file