Page Links: |
---|
Page Links: |
---|
This is an old revision of the document!
Paths to note: | |
---|---|
/root/docker/ | Root to all these docker data and config files |
/mnt/pve/FOLDER | Root to SMB Share mounted via Proxmox |
/mnt/pve/FOLDER/openvpn | openvpn config files credentials.conf *.crt config.ovpn [modified to point to credentials with:] auth-user-pass credentials.conf |
/mnt/pve/FOLDER/qbt/downloads | Path to Downloading folder for both QBT and Medusa's own folders |
/mnt/pve/FOLDER/qbt/tv | Path to Medusa Series |
Install and run qBittorrentVPN via CLI
docker run -d \ --cap-add=NET_ADMIN \ -p 8118:8118 \ --name=1qbittorrentvpn \ -v /root/docker/qbittorrentvpn/data:/data \ -v /root/docker/qbittorrentvpn/config:/config \ -v /mnt/pve/Tor/openvpn:/config/openvpn \ -v /mnt/pve/Tor/qbt/downloads:/config/qBittorrent/downloads \ -v /etc/localtime:/etc/localtime:ro \ -e VPN_ENABLED=yes \ -e VPN_USER=USER \ -e VPN_PASS=PASS \ -e VPN_PROV=custom \ -e VPN_CLIENT=openvpn \ -e ENABLE_PRIVOXY=yes \ -e LAN_NETWORK=192.168.1.0/24 \ -e NAME_SERVERS=84.200.69.80,37.235.1.174,1.1.1.1,37.235.1.177,84.200.70.40,1.0.0.1 \ -e VPN_INPUT_PORTS=8080,8081,9117 \ -e DEBUG=false \ -e WEBUI_PORT=8080 \ -e UMASK=000 \ -e PUID=0 \ -e PGID=0 \ binhex/arch-qbittorrentvpn
Medusa
docker run -d \ --name=2medusa \ --net=container:1qbittorrentvpn \ -e PUID=0 \ -e PGID=0 \ -e TZ=UTC \ -v /root/docker/medusa:/config \ -v /mnt/pve/Tor/qbt/downloads:/downloads \ -v /mnt/pve/Tor/qbt/tv:/tv \ --restart unless-stopped \ lscr.io/linuxserver/medusa:latest
Jackett
docker run -d \ --name=2jackett \ --net=container:1qbittorrentvpn \ -e PUID=0 \ -e PGID=0 \ -e TZ=UTC \ -v /root/docker/jackett:/config \ -v /mnt/pve/Tor/qbt/downloads:/downloads \ --restart unless-stopped \ lscr.io/linuxserver/jackett:latest
Proxy to each via Nginx-proxy-manager
docker run -d --link 1qbittorrentvpn:2medusa \ --link 2jackett:2jackett \ --name=3web \ -e USER_ID=0 \ -e GROUP_ID=0 \ -p 8181:8181 \ -p 80:8080 \ -p 443:4443 \ --restart unless-stopped \ -v /etc/localtime:/etc/localtime:ro \ -v /root/docker/nginx-proxy-manager:/config:rw \ jlesage/nginx-proxy-manager
Link to everything in Nginx
bit.onoitsu2.com <--> http://1qbittorrentvpn:8080 bit.onoitsu2.com/medusa <--> http://2medusa:8081 bit.onoitsu2.com/jackett <--> http://2jackett:9117
Get API key for Jackett and modify into qBittorrent /root/docker/qbittorrent/config/qBittorrent/data/nova3/engines/jackett.json
{ "api_key": "XXXXXXXXXXXXXXXXXX", "tracker_first": false, "url": "http://localhost:9117" }