refactored all to dev

This commit is contained in:
2025-11-26 21:48:53 -08:00
parent a8066686bc
commit f8ca733307
170 changed files with 12 additions and 29 deletions
+30
View File
@@ -0,0 +1,30 @@
# qbittorrent
https://github.com/Trigus42/alpine-qbittorrentvpn
"Docker container which runs the latest qBittorrent-nox client while connecting to WireGuard or OpenVPN with netfilter killswitch to prevent IP leakage when the tunnel goes down."
## Default username
Admin
## 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
## Setup
env file
```text
# qbittorrent
COOKBOOK=/home/user/git/docker-compose-cookbooks #HELP: cookbooks
VOL_PATH=/project-dir/project-name/data #HELP: volpath
QBT_IMAGE=trigus42/qbittorrentvpn:latest
QBT_PASS=01234567890 #HELP: #HELP: gen32
```
+18
View File
@@ -0,0 +1,18 @@
services:
qbittorrent:
image: ${QBT_IMAGE:-trigus42/qbittorrentvpn:latest}
environment:
- VPN_TYPE=wireguard
- WEBUI_PASSWORD=${QBT_PASS:-ChangeMePass}
volumes:
- "${VOL_CONFIG_PATH:-./data}/qbit/config:/config"
- "${VOL_PATH:-./data}/qbit/downloads:/downloads"
- "${VOL_PATH:-./data}/qbit/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
+5
View File
@@ -0,0 +1,5 @@
# qbittorrent
COOKBOOK=/home/user/git/docker-compose-cookbooks #HELP: cookbooks
VOL_PATH=/project-dir/project-name/data #HELP: volpath
QBT_IMAGE=trigus42/qbittorrentvpn:latest
QBT_PASS=01234567890 #HELP: gen32