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 secrets: - openvpn_user - openvpn_password environment: # More variables are available, see the readme table - VPNSP=private internet access # Timezone for accurate logs times - TZ= restart: always secrets: openvpn_user: file: ./openvpn_user openvpn_password: file: ./openvpn_password