Skip to main content

Gluetun

version: "3.3"
services:
  gluetun:
    image: qmcgaw/gluetun
    cap_add:
      - NET_ADMIN
    ports:
      - 8889:8888/tcp # HTTP proxy  #original 8888:8888
      - 8388:8388/tcp # Shadowsocks
      - 8388:8388/udp # Shadowsocks
    volumes:
      - /srv/path/Files/Gluetun:/gluetun/config.conf:ro
    environment:
      - VPNSP=custom
      - VPN_TYPE=wireguard
     ## For OpenVPN
      #- OPENVPN_CUSTOM_CONFIG=/gluetun/custom.conf
     ## For Wireguard
      - WIREGUARD_ENDPOINT_IP=
      - WIREGUARD_ENDPOINT_PORT=51820
      - WIREGUARD_PUBLIC_KEY=
      - WIREGUARD_PRIVATE_KEY=
      - WIREGUARD_PRESHARED_KEY=
      - WIREGUARD_ADDRESS=
      - TZ=Europe/Paris
    restart: unless-stopped