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 [2023/02/12 18:21] 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 8080:8080 \ +services:   
-    -p 8081:8081 \ +  jackett
-    -p 8118:8118 \ +    container_namejackett 
-    -p 9117:9117 +    image'lscr.io/linuxserver/jackett:latest' 
-    --name=1qbittorrentvpn \ +    restart: unless-stopped 
-    -v /root/docker/qbittorrentvpn/data:/data \ +    depends_on: 
-    -v /root/docker/qbittorrentvpn/config:/config \ +     - privoxyvpn 
-    -v /mnt/pve/Tor/openvpn:/config/openvpn \ +    network_modeservice:privoxyvpn 
-    -/mnt/pve/Tor/qbt/downloads:/config/qBittorrent/downloads \ +    volumes
-    -v /etc/localtime:/etc/localtime:ro \ +      - /root/docker/jackett:/config 
-    -e VPN_ENABLED=yes \ +    environment
-    -e VPN_USER=USER \ +       UMASK000 
-    -e VPN_PASS=PASS \ +       PUID: 1000 
-    -e VPN_PROV=custom \ +       PGID: 1000 
-    -e VPN_CLIENT=openvpn \ +       TZ: "UTC" 
-    -e ENABLE_PRIVOXY=yes \ +        
-    -e LAN_NETWORK=192.168.1.0/24 \ +  flaresolverr
-    -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 \ +    container_nameflaresolverr 
-    -e VPN_INPUT_PORTS=8080,8081,9117 \ +    image: 'ghcr.io/flaresolverr/flaresolverr:latest' 
-    -e DEBUG=false \ +    restartunless-stopped 
-    -e WEBUI_PORT=8080 \ +    #ports
-    -e UMASK=000 \ +    #  '8191:8191' 
-    -e PUID=0 \ +    environment
-    -e PGID=0 \ +       LOG_LEVEL"info" 
-    binhex/arch-qbittorrentvpn +    depends_on
-     +     privoxyvpn 
-Medusa +    network_modeservice:privoxyvpn
-    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+
  
-Install Filebrowser +  medusa: 
-    docker run -d \ +    container_name: medusa 
-      --name filebrowser \ +    image: 'lscr.io/linuxserver/medusa:latest' 
-      -p 8800:80 \ +    restart: unless-stopped 
-      -e FB_BRANDING.DISABLEEXTERNAL=true \ +    depends_on
-      -v /mnt/pve/FOLDER/qbt/downloads:/srv \ +     privoxyvpn 
-      -/root/docker/filebrowser/filebrowser.json:/.filebrowser.json \ +    network_mode: service:privoxyvpn 
-      -v /root/docker/filebrowser/database.db:/database.db \ +    volumes
-      filebrowser/filebrowser:latest +      - /root/docker/medusa:/config 
 +      - MedusaDownloads:/downloads 
 +      - MedusaTV:/tv 
 +    environment: 
 +       UMASK: 000 
 +       PUID: 0 
 +       PGID: 0 
 +       TZ: "UTC"
  
-Install Nginx-proxy-manager +  qbittorrent: 
-    docker run -d \ +    image: lscr.io/linuxserver/qbittorrent:latest 
-    --name=www \ +    container_name: qbittorrent 
-    -e USER_ID=\ +    depends_on: 
-    -e GROUP_ID=0 \ +     privoxyvpn 
-    -p 8181:8181 \ +    network_mode: service:privoxyvpn 
-    -p 80:8080 \ +    environment: 
-    -p 443:4443 \ +      PUID: 0 
-    --restart unless-stopped \ +      PGID: 0 
-    -/etc/localtime:/etc/localtime:ro \ +      TZ: "UTC" 
-    -v /root/docker/nginx-proxy-manager:/config:rw \ +      WEBUI_PORT: 9080 
-    jlesage/nginx-proxy-manager+    volumes: 
 +      - /root/docker/qbt:/config 
 +      QBTDownloads:/downloads 
 +    restart: unless-stopped 
 +     
 +  privoxyvpn: 
 +    container_name: privoxyvpn 
 +    image: 'binhex/arch-privoxyvpn:latest' 
 +    restart: always 
 +    extra_hosts: 
 +      #needed to make QBT to Jackett linking by name possible 
 +      jackett: 127.0.0.1 
 +    cap_add: 
 +      NET_ADMIN 
 +    ports: 
 +      '8118:8118' #privoxy proxy 
 +      '9118:9118' #SOCKS Proxy 
 +      '9080:9080' #QBT 
 +      - '8081:8081' #MEDUSA 
 +      - '9117:9117' #JACKETT 
 +    volumes: 
 +      /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 
 +      - /etc/localtime:/etc/localtime:ro 
 +    environment: 
 +       VPN_ENABLED"yes" 
 +       VPN_PROV: "custom" 
 +       VPN_CLIENT: "openvpn" 
 +       ENABLE_PRIVOXY: "yes" 
 +       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: 0 
 +       PGID: 0
  
-Link to everything in Nginx +volumes: 
-    download.site.com <--> http://server:8080 +  MedusaDownloads: 
-    medusa.site.com <--> http://server:8081 +      driverlocal 
-    jackett.site.com <--> http://server:9117 +      driver_opts: 
-    files.site.com <--> http://server:8800+        typecifs     
 +        device: //CIFS_Share_IP/QBT/medusa 
 +        o"username=USER,password=Pass,vers=3.0,uid=0,gid=0"
  
 +  MedusaTV:
 +      driver: local
 +      driver_opts:
 +        type: cifs    
 +        device: //CIFS_Share_IP/TV
 +        o: "username=USER,password=Pass,vers=3.0,uid=0,gid=0"
  
-Custom Settings for bit.site.com / +  QBTDownloads: 
-    location / { +      driverlocal 
-      proxy_pass           $forward_scheme://$server:$port; +      driver_opts: 
-      proxy_set_header    Upgrade $http_upgrade; +        type: cifs     
-      proxy_set_header    Connection "upgrade"; +        device: //CIFS_Share_IP/QBT 
-      proxy_cookie_path                   "/; Secure"; +        o: "username=USER,password=Pass,vers=3.0,uid=0,gid=0" 
-      proxy_set_header     X-Forwarded-Host $http_host; +</code>
-      proxy_set_header     X-Real-IP $remote_addr; +
-      proxy_set_header     X-Forwarded-For $remote_addr; +
-      proxy_set_header     X-Forwarded-Proto $scheme; +
-      proxy_set_header     Origin ''; +
-      proxy_hide_header X-Powered-By; +
-      proxy_set_header Range $http_range; +
-      proxy_set_header If-Range $http_if_range; +
-      add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always; +
-      proxy_read_timeout   86400; +
-      client_max_body_size 1024M; +
-    } +
- +
- +
-Custom site settings for Filebrowser +
-    location / { +
-      proxy_pass           $forward_scheme://$server:$port; +
-      proxy_http_version  1.1; +
-      proxy_set_header    Upgrade $http_upgrade; +
-      proxy_set_header    Connection "upgrade"; +
-      proxy_cookie_path  /                  "/; Secure"; +
-      proxy_set_header     X-Forwarded-Host $http_host; +
-      proxy_set_header     X-Real-IP $remote_addr; +
-     +
-      proxy_hide_header X-Powered-By; +
-      proxy_set_header Range $http_range; +
-      proxy_set_header If-Range $http_if_range; +
-     +
-      proxy_set_header     X-Forwarded-For $remote_addr; +
-      proxy_set_header     X-Forwarded-Proto $scheme; +
-      proxy_set_header     Origin ''; +
-     +
-      add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always; +
-     +
-      proxy_read_timeout   86400; +
-      client_max_body_size 1024M; +
-    } +
-    location /api { +
-      client_max_body_size 0+
-      proxy_pass $forward_scheme://$server:$port; +
-    } +
-    location /static { +
-      client_max_body_size 0+
-      proxy_pass $forward_scheme://$server:$port; +
-    } +
-    location /share { +
-    client_max_body_size 0; +
-    proxy_pass $forward_scheme://$server:$port; +
-    } +
  
-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.1676226070.txt.gz · Last modified: 2023/06/01 06:19 (external edit)