Skip to main content

Installation

GluetunThe service can be installed by followingthrough the Portainer guideweb forinterface. 

Learn about creating a new stack.

Learn about configuring a

Docker stacks.  This service is used in combination with additional containers to route their Internet traffic through a VPN.

Compose

Use the following Docker Compose code to runinstall thisthe app:service:


---
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
  web:
    image: hello-world
    network_mode: "service:gluetun"