version: '3.8' services: gluetun: image: qmcgaw/gluetun container_name: streamlink-server-gluetun cap_add: - NET_ADMIN devices: - /dev/net/tun:/dev/net/tun ports: - "6090:6090" environment: # NordVPN - Dallas - VPN_SERVICE_PROVIDER=custom - VPN_TYPE=wireguard - WIREGUARD_ENDPOINT_IP=185.247.70.139 - WIREGUARD_ENDPOINT_PORT=51820 - WIREGUARD_PUBLIC_KEY=8pRFH/FfMBs3eBJCM2ABFoOs/13n78LYQvoovZVLdgI= - WIREGUARD_PRIVATE_KEY=8Hzee8uJtfKwbJ+NhG8wdAeWtcfdU8bRO/hHLXmM2l0= - WIREGUARD_ADDRESSES=10.5.0.2/32 streamlink-server: build: context: . dockerfile: Dockerfile container_name: streamlink-server network_mode: "service:gluetun" volumes: - ./data:/data restart: unless-stopped environment: - TZ=UTC - AUTH_USERNAME=12345678 - AUTH_PASSWORD=87654321 healthcheck: test: ["CMD", "curl", "-f", "http://localhost:6090/health"] interval: 30s timeout: 10s retries: 3 start_period: 10s