docker compose is appreciated

    • Link@rentadrunk.org
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      10 months ago

      Does this only tunnel qbittorrent through the VPN or all traffic on the device?

      • Scipitie@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        0
        ·
        edit-2
        10 months ago

        Have exactly the same setup:

        It tunnels everything that is bound to the same network (see the line with gluetun within the qbittorrent container.

        And for anyone using a reverse proxy: that can run against the gluetun container with the bound containers port. (edit: in OPs example gluetun:8090 for qbittorrent web)

      • jws_shadotak@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        0
        ·
        10 months ago

        Only qbit I have other stuff in that stack as well, like sonarr and radarr, that I cut out.

        The network mode setting in docker acts as a bind. The port is exposed to the host in gluetun. If gluetun throws an error and shuts down, qBit WebUI is no longer accessible.

  • Appoxo@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 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.

  • java@beehaw.org
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    10 months ago
    $ cat Projects/qbittorrent/docker-compose.yml 
    version: "2.1"
    services:
      qbittorrent:
        image: lscr.io/linuxserver/qbittorrent:latest
        container_name: qbittorrent
        environment:
          - PUID=1000
          - PGID=1000
          - TZ=Europe/Berlin
          - WEBUI_PORT=8081
        volumes:
          - /path/to/appdata/config:/config
          - /home/username/Downloads/Torrents:/downloads
        ports:
          - 8081:8081
          - 6881:6881
          - 6881:6881/udp
        restart: unless-stopped
    

    The whole server is running under the VPN.