38 lines
1.0 KiB
YAML
38 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:
|
|
# Privado - Dallas
|
|
- VPN_SERVICE_PROVIDER=custom
|
|
- VPN_TYPE=wireguard
|
|
- WIREGUARD_ENDPOINT_IP=45.38.15.192
|
|
- WIREGUARD_ENDPOINT_PORT=51820
|
|
- WIREGUARD_PUBLIC_KEY=KgTUh3KLijVluDvNpzDCJJfrJ7EyLzYLmdHCksG4sRg=
|
|
- WIREGUARD_PRIVATE_KEY=sOVaxrCbfpHj6zoDfoDS7SPaha1RTDM23/cg1m3U2Us=
|
|
- WIREGUARD_ADDRESSES=100.64.13.50/32
|
|
streamlink-server:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
container_name: streamlink-server
|
|
network_mode: "service:gluetun"
|
|
volumes:
|
|
- ./data:/data
|
|
restart: unless-stopped
|
|
environment:
|
|
- TZ=UTC
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:6090/channels?username=65128929&password=34243636"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 10s |