• 1 Post
  • 21 Comments
Joined 6 months ago
cake
Cake day: April 23rd, 2024

help-circle


















  • Yeah i pretty much stole this from someone else, although it only used a single torrent client so i just added another that looked the same. i’m not very skilled in docker, so some things may not be best practice (or even correct)

    qbittorrent:
        image: lscr.io/linuxserver/qbittorrent:latest
        container_name: qbittorrent
        network_mode: service:gluetun
        environment:
          - PUID=${APPUSER_PUID}
          - PGID=${APPUSER_PGID}
          - TZ=${TIME_ZONE_VALUE}
          - WEBUI_PORT=8084
        volumes:
          - ${PATH_TO_DATA}/qbit/config:/config
          - ${PATH_TO_COMPLETE}:/downloads
        restart: unless-stopped
        depends_on:
          - gluetun
    
      qbittorrentTL:
        image: lscr.io/linuxserver/qbittorrent:latest
        container_name: qbittorrentTL
        network_mode: service:gluetun
        environment:
          - PUID=${APPUSER_PUID}
          - PGID=${APPUSER_PGID}
          - TZ=${TIME_ZONE_VALUE}
          - WEBUI_PORT=8085
        volumes:
          - ${PATH_TO_DATA}/qbitTL/config:/config
          - ${PATH_TO_COMPLETE}:/downloads
        restart: unless-stopped
        depends_on:
          - gluetun
    
      gluetun:
        image: qmcgaw/gluetun
        container_name: gluetun
        networks:
          pirate_net:
        cap_add:
          - NET_ADMIN
          - SYS_MODULE
        environment:
          - VPN_SERVICE_PROVIDER=protonvpn
          - OPENVPN_USER=[USER]
          - OPENVPN_PASSWORD=[PASSWORD]
          - SERVER_COUNTRIES=[COUNTRIES]
          - VPN_PORT_FORWARDING=on
          - UPDATER_PERIOD=6h
        ports:
          - 8084:8084 # Qbit
          - 8085:8085 # QbitTL
          - 6881:6881
          - 6881:6881/udp
          - 8191:8191 # Flaresolverr
          - 9696:9696 # Prowlarr
          - 7878:7878 # Radarr
          - 8989:8989 # Sonarr
        volumes:
          - ${PATH_TO_DATA}/gluetun/config:/config
    
    networks:
      pirate_net:
        driver: bridge