| Page Links: | 
|---|
| Page Links: | 
|---|
| Config Paths: | |
|---|---|
| /root/docker/ | Root to all these docker data and config files | 
| /root/docker/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 | 
| /root/docker/medusa | Path to Medusa config | 
| /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 | 
---
version: '3.2'
services:  
  jackett:
    container_name: jackett
    image: 'lscr.io/linuxserver/jackett:latest'
    restart: unless-stopped
    depends_on:
     - privoxyvpn
    network_mode: service:privoxyvpn
    volumes:
      - /root/docker/jackett:/config
    environment:
       UMASK: 000
       PUID: 1000
       PGID: 1000
       TZ: "UTC"
       
  flaresolverr:
    container_name: flaresolverr
    image: 'ghcr.io/flaresolverr/flaresolverr:latest'
    restart: unless-stopped
    #ports:
    #  - '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:
       UMASK: 000
       PUID: 0
       PGID: 0
       TZ: "UTC"
  qbittorrent:
    image: lscr.io/linuxserver/qbittorrent:latest
    container_name: qbittorrent
    depends_on:
     - privoxyvpn
    network_mode: service:privoxyvpn
    environment:
      PUID: 0
      PGID: 0
      TZ: "UTC"
      WEBUI_PORT: 9080
    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
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"
  MedusaTV:
      driver: local
      driver_opts:
        type: cifs    
        device: //CIFS_Share_IP/TV
        o: "username=USER,password=Pass,vers=3.0,uid=0,gid=0"
  QBTDownloads:
      driver: local
      driver_opts:
        type: cifs    
        device: //CIFS_Share_IP/QBT
        o: "username=USER,password=Pass,vers=3.0,uid=0,gid=0"
Get API key for Jackett from port 9117 and modify into qBittorrent /root/docker/qbt/qBittorrent/nova3/engines/jackett.json
    {
        "api_key": "XXXXXXXXXXXXXXXXXX",
        "tracker_first": false,
        "url": "http://jackett:9117"
    }