Added gluetun vpn to protect connection
This commit is contained in:
@@ -1,13 +1,29 @@
|
||||
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:
|
||||
- VPN_SERVICE_PROVIDER=custom
|
||||
- VPN_TYPE=wireguard
|
||||
- WIREGUARD_ENDPOINT_IP=45.38.16.144
|
||||
- WIREGUARD_ENDPOINT_PORT=51820
|
||||
- WIREGUARD_PUBLIC_KEY=KgTUh3KLijVluDvNpzDCJJfrJ7EyLzYLmdHCksG4sRg=
|
||||
- WIREGUARD_PRIVATE_KEY=UJ2OhqyIlXQfbuYKTf8etvGGgT6SRGKzehlHi/k20Hc=
|
||||
- WIREGUARD_ADDRESSES=100.64.7.102/32
|
||||
streamlink-server:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: streamlink-server
|
||||
ports:
|
||||
- "6090:6090"
|
||||
network_mode: "service:gluetun"
|
||||
volumes:
|
||||
- ./data:/data
|
||||
restart: unless-stopped
|
||||
|
||||
Reference in New Issue
Block a user