docker compose is appreciated

  • Dasnap@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    6 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