docker compose is appreciated

  • trolololol@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    11 months ago

    At this point I don’t know why you’d need docker or VPN to run a torrent and I’m too afraid to ask.

  • Dasnap@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    11 months ago

    This is the compose file I use, with Gluetun setup with ProtonVPN. I edited it to remove some personal machine stuff so adapt volumes to your liking.

    version: "2.1"
    services:
      jackett:
        image: lscr.io/linuxserver/jackett:latest
        container_name: jackett
        network_mode: service:gluetun
        environment:
          - PUID=1000
          - PGID=1000
          - TZ=Europe/London
        volumes:
          - ./data:/config
          - ./downloads:/downloads
        restart: unless-stopped
        depends_on:
          - gluetun
    
      qbittorrent:
        image: lscr.io/linuxserver/qbittorrent:4.5.5-r0-ls291
        container_name: qbittorrent
        network_mode: service:gluetun
        environment:
          - PUID=1000
          - PGID=1000
          - TZ=Etc/UTC
          - WEBUI_PORT=8084
        volumes:
          - a-place/qbittorrent/config:/config
          - a-place/qbittorrent:/downloads
        restart: unless-stopped
        depends_on:
          - gluetun
    
      flaresolverr:
        container_name: flaresolverr
        network_mode: service:gluetun
        environment:
          - LOG_LEVEL=info
        restart: unless-stopped
        image: ghcr.io/flaresolverr/flaresolverr:latest
        depends_on:
          - gluetun
    
      gluetun:
        image: qmcgaw/gluetun
        container_name: gluetun
        networks:
          pirate_net:
        cap_add:
          - NET_ADMIN
          - SYS_MODULE
        environment:
          - VPN_SERVICE_PROVIDER=custom
          - VPN_TYPE=wireguard
        ports:
          - 9117:9117 # Jackett
          - 8084:8084
          - 6881:6881
          - 6881:6881/udp
          - 8191:8191 # Flaresolverr
        volumes:
          - ./config/:/gluetun/wireguard/
    
    networks:
      pirate_net:
        driver: bridge
    
  • Appoxo@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    2
    ·
    11 months ago

    I use gluetun with sabnzbd
    Not torrent tech but yeah.

    I often read about not using two containers but instead to use a combi docker.