Skip to main content

Installation

The service can be installed through the Portainer web interface. 

Learn about creating a new stack.

Docker Compose

Use the following code to install the service and a qBittorent server as an example:

---
services:
  gluetun:
    image: qmcgaw/gluetun
    restart: unless-stopped
    cap_add:
      - NET_ADMIN
    environment:
      - VPN_SERVICE_PROVIDER=
      - VPN_TYPE=
      - OPENVPN_USER=
      - OPENVPN_PASSWORD=
      - SERVER_REGIONS=
    ports:
      # Connected Application Ports
      # Example qBittorrent
      - "0.0.0.0:9191:9191"
      - "0.0.0.0:6881:6881
      
  qbittorrent:
    image: lscr.io/linuxserver/qbittorrent:latest
    container_name: qbittorrent
    network_mode: "service:glueton"
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/Vancouver
      - WEBUI_PORT=9191
      - TORRENTING_PORT=6881
    volumes:
      # Persistent Data 
      - /srv/qbittorrent:/config

      # Download Folders
      - /mnt/downloads:/downloads/
    restart: unless-stopped