401klaser@lemmy.fmhy.mltoqBittorrent@lemmy.fmhy.ml•Link qBittorent docker container to VPNEnglish
0·
1 year agoDo you use docker compose?
https://www.youtube.com/watch?v=xbSfaKwyfXE&t=33s
version: '3.7'
services:
gluetun:
image: qmcgaw/gluetun:latest
container_name: vpn
cap_add:
- NET_ADMIN
ports:
- '8080:8080'
environment:
- VPNSP=protonvpn
- VPN_TYPE=openvpn
- OPENVPN_USER=xxxxxx
- OPENVPN_PASSWORD=xxxxxx
- REGION=United States
restart: unless-stopped
qbittorrent:
container_name: qbittorrent
image: cr.hotio.dev/hotio/qbittorrent:latest
network_mode: 'container:vpn'
environment:
- PUID=1000
- PGID=1000
- UMASK=002
- TZ=America/New_York
volumes:
- '/home/xxxx/qbt:/config'
- '/home/xxxx/INCOMING:/downloads'
restart: unless-stopped
That should get your started
awesome let me know if you run into any issues!