Files
streamlink-server/docker-compose.yml

40 lines
1.0 KiB
YAML

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 - Houston, US
- VPN_SERVICE_PROVIDER=custom
- VPN_TYPE=wireguard
- WIREGUARD_ENDPOINT_IP=185.81.126.17
- WIREGUARD_ENDPOINT_PORT=51820
- WIREGUARD_PUBLIC_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
- WIREGUARD_PRIVATE_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
- 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