version: "3.7" services: gluetun: image: qmcgaw/gluetun container_name: gluetun cap_add: - NET_ADMIN network_mode: bridge ports: - 8888:8888/tcp # HTTP proxy - 8388:8388/tcp # Shadowsocks - 8388:8388/udp # Shadowsocks - 8000:8000/tcp # Built-in HTTP control server # command: volumes: - /yourpath:/gluetun environment: # More variables are available, see the Wiki table - OPENVPN_USER= - OPENVPN_PASSWORD= - VPNSP=private internet access - VPN_TYPE=openvpn # Timezone for accurate logs times - TZ= restart: always