User Tools

Site Tools


docker:qbt

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
docker:qbt [2022/12/16 23:07] onoitsu2docker:qbt [2023/07/19 06:00] (current) onoitsu2
Line 1: Line 1:
 [[Docker:start]] [[Docker:start]]
  
-^  Paths to note:  ^+^  Config Paths:  ^
 |/root/docker/ | Root to all these docker data and config files| |/root/docker/ | Root to all these docker data and config files|
-|/mnt/pve/FOLDER | Root to SMB Share mounted via Proxmox| +|/root/docker/openvpn | openvpn config files \\ credentials.conf \\ *.crt \\ config.ovpn [modified to point to credentials with:] \\ auth-user-pass credentials.conf| 
-|/mnt/pve/FOLDER/openvpn | openvpn config files \\ credentials.conf \\ *.crt \\ config.ovpn [modified to point to credentials with:] \\ auth-user-pass credentials.conf| +|/root/docker/jackett | Path to Jackett config | 
-|/mnt/pve/FOLDER/qbt/downloads | Path to Downloading folder for both QBT and Medusa's own folders +|/root/docker/medusa | Path to Medusa config 
-|/mnt/pve/FOLDER/qbt/tv| Path to Medusa Series |+|/root/docker/qbt | Path to QBT config | 
 +^  CIFS: (Downloads) 
 +|CIFS_Share_IP/qbt | Path to QBT Downloads folder | 
 +|CIFS_Share_IP/qbt/medusa | Path to MedusaDownloads folder | 
 +|CIFS_Share_IP/TV | Path to Medusa end TV series folder | 
 +^  Ports to note  ^ 
 +|8118|privoxy proxy| 
 +|9118|SOCKS Proxy| 
 +|9080|QBT| 
 +|8081|MEDUSA| 
 +|9117|JACKETT|
  
  
-Install and run qBittorrentVPN via CLI +<code> 
-    docker run -d \ +--- 
-    --cap-add=NET_ADMIN \ +version: '3.2' 
-    -p 8118:8118 \ +services:   
-    --name=1qbittorrentvpn \ +  jackett: 
-    -v /root/docker/qbittorrentvpn/data:/data \ +    container_namejackett 
-    -/root/docker/qbittorrentvpn/config:/config \ +    image: 'lscr.io/linuxserver/jackett:latest' 
-    -v /mnt/pve/Tor/openvpn:/config/openvpn \ +    restart: unless-stopped 
-    -v /mnt/pve/Tor/qbt/downloads:/config/qBittorrent/downloads \ +    depends_on: 
-    -v /etc/localtime:/etc/localtime:ro \ +     privoxyvpn 
-    -e VPN_ENABLED=yes \ +    network_mode: service:privoxyvpn 
-    -e VPN_USER=USER \ +    volumes: 
-    -e VPN_PASS=PASS \ +      - /root/docker/jackett:/config 
-    -e VPN_PROV=custom \ +    environment: 
-    -e VPN_CLIENT=openvpn \ +       UMASK: 000 
-    -e ENABLE_PRIVOXY=yes \ +       PUID: 1000 
-    -e LAN_NETWORK=192.168.1.0/24 \ +       PGID: 1000 
-    -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 \ +       TZ: "UTC" 
-    -e VPN_INPUT_PORTS=8080,8081,9117 \ +        
-    -e DEBUG=false \ +  flaresolverr
-    -e WEBUI_PORT=8080 \ +    container_nameflaresolverr 
-    -UMASK=000 \ +    image'ghcr.io/flaresolverr/flaresolverr:latest' 
-    -e PUID=\ +    restart: unless-stopped 
-    -PGID=\ +    #ports: 
-    binhex/arch-qbittorrentvpn+    #  '8191:8191' 
 +    environment: 
 +       LOG_LEVEL: "info" 
 +    depends_on: 
 +     privoxyvpn 
 +    network_mode: service:privoxyvpn 
 + 
 +  medusa: 
 +    container_name: medusa 
 +    image: 'lscr.io/linuxserver/medusa:latest' 
 +    restart: unless-stopped 
 +    depends_on: 
 +     privoxyvpn 
 +    network_mode: service:privoxyvpn 
 +    volumes: 
 +      /root/docker/medusa:/config 
 +      MedusaDownloads:/downloads 
 +      - MedusaTV:/tv 
 +    environment: 
 +       UMASK000 
 +       PUID0 
 +       PGID: 0 
 +       TZ: "UTC" 
 + 
 +  qbittorrent: 
 +    image: lscr.io/linuxserver/qbittorrent:latest 
 +    container_name: qbittorrent 
 +    depends_on: 
 +     privoxyvpn 
 +    network_mode: service:privoxyvpn 
 +    environment: 
 +      PUID: 0 
 +      PGID0 
 +      TZ: "UTC" 
 +      WEBUI_PORT: 9080 
 +    volumes: 
 +      - /root/docker/qbt:/config 
 +      - QBTDownloads:/downloads 
 +    restart: unless-stopped
          
-Medusa +  privoxyvpn: 
-    docker run -d \ +    container_name: privoxyvpn 
-    --name=2medusa \ +    image: 'binhex/arch-privoxyvpn:latest' 
-    --net=container:1qbittorrentvpn \ +    restartalways 
-    -e PUID=\ +    extra_hosts: 
-    -e PGID=0 \ +      #needed to make QBT to Jackett linking by name possible 
-    -e TZ=UTC \ +      jackett: 127.0.0.1 
-    -/root/docker/medusa:/config \ +    cap_add: 
-    -/mnt/pve/Tor/qbt/downloads:/downloads \ +      NET_ADMIN 
-    -v /mnt/pve/Tor/qbt/tv:/tv \ +    ports: 
-    --restart unless-stopped \ +      '8118:8118' #privoxy proxy 
-    lscr.io/linuxserver/medusa:latest +      - '9118:9118' #SOCKS Proxy 
-     +      - '9080:9080' #QBT 
-Jackett +      - '8081:8081' #MEDUSA 
-    docker run -d \ +      - '9117:9117' #JACKETT 
-    --name=2jackett \ +    volumes: 
-    --net=container:1qbittorrentvpn \ +      - /root/docker/openvpn:/config/openvpn  #Where the config.ovpn is kept with modification with 'auth-user-pass credentials.conf' and store credentials within that file for ease of use 
-    -e PUID=\ +      - /etc/localtime:/etc/localtime:ro 
-    -e PGID=\ +    environment
-    -e TZ=UTC \ +       VPN_ENABLED: "yes" 
-    -v /root/docker/jackett:/config \ +       VPN_PROV"custom" 
-    -v /mnt/pve/Tor/qbt/downloads:/downloads \ +       VPN_CLIENT: "openvpn" 
-    --restart unless-stopped \ +       ENABLE_PRIVOXY: "yes" 
-    lscr.io/linuxserver/jackett:latest+       ENABLE_SOCKS: "yes" 
 +       SOCKS_USER: "admin" 
 +       SOCKS_PASS"socks" 
 +       LAN_NETWORK: "192.168.1.0/24" 
 +       VPN_INPUT_PORTS: "9080,8080,8081,9117" 
 +       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" 
 +       DEBUG: "false" 
 +       UMASK: 000 
 +       PUID
 +       PGID
 + 
 +volumes
 +  MedusaDownloads
 +      driver: local 
 +      driver_opts: 
 +        type: cifs     
 +        device: //CIFS_Share_IP/QBT/medusa 
 +        o"username=USER,password=Pass,vers=3.0,uid=0,gid=0"
  
- Proxy to each via Nginx-proxy-manager +  MedusaTV: 
-    docker run -d --link 1qbittorrentvpn:2medusa \ +      driverlocal 
-    --link 2jackett:2jackett \ +      driver_opts
-    --name=3web \ +        typecifs     
-    -e USER_ID=0 \ +        device: //CIFS_Share_IP/TV 
-    -e GROUP_ID=0 \ +        o"username=USER,password=Pass,vers=3.0,uid=0,gid=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 +  QBTDownloads: 
-    bit.site.com <--> http://1qbittorrentvpn:8080 +      driverlocal 
-    bit.site.com/medusa <--> http://2medusa:8081 +      driver_opts
-    bit.site.com/jackett <--http://2jackett:9117+        type: cifs     
 +        device: //CIFS_Share_IP/QBT 
 +        o"username=USER,password=Pass,vers=3.0,uid=0,gid=0" 
 +</code>
  
-Get API key for Jackett and modify into qBittorrent /root/docker/qbittorrent/config/qBittorrent/data/nova3/engines/jackett.json+Get API key for Jackett from port 9117 and modify into qBittorrent /root/docker/qbt/qBittorrent/nova3/engines/jackett.json 
 +<code>
     {     {
         "api_key": "XXXXXXXXXXXXXXXXXX",         "api_key": "XXXXXXXXXXXXXXXXXX",
         "tracker_first": false,         "tracker_first": false,
-        "url": "http://localhost:9117"+        "url": "http://jackett:9117"
     }     }
 +</code>
  
 [[Docker:Customizations]] [[Docker:Customizations]]
docker/qbt.1671232021.txt.gz · Last modified: 2023/06/01 06:19 (external edit)