Compare commits
2 commits
21529a0f1d
...
4bae2d93cd
Author | SHA1 | Date | |
---|---|---|---|
4bae2d93cd | |||
eba0bf7ccc |
5 changed files with 35 additions and 9 deletions
|
@ -10,14 +10,23 @@ REVERSEPROXY_PUBLIC_PORT=443
|
|||
REVERSEPROXY_METRICS_PORT=10000
|
||||
|
||||
# invidious-companion
|
||||
VIDEO_CACHE_ON_DISK=true
|
||||
SERVER_MAX_DASH_RESOLUTION=1080
|
||||
VERIFY_REQUESTS=true
|
||||
PORT=8081
|
||||
FREQUENCY_SECONDS=65
|
||||
SERVER_SECRET_KEY=""
|
||||
SERVER_ENCRYPT_QUERY_PARAMS=true
|
||||
PO_TOKEN_CHECK=true
|
||||
JOBS_YOUTUBESESSION_FREQUENCY="*/5 * * * *"
|
||||
MAX_PROXY_RETIRES=2
|
||||
SERVER_ENABLE_METRICS=true
|
||||
SERVER_DISABLE_LOGS=true
|
||||
SERVER_TRACK_UNKNOWN_INNERTUBE_ERRORS=true
|
||||
|
||||
# ytproxy
|
||||
YTPROXY_PORT=8080
|
||||
# Has to be the same as SERVER_SECRET_KEY
|
||||
YTPROXY_SECRET_KEY=""
|
||||
YTPROXY_BLOCK_CHECKER=false
|
||||
|
||||
# Gluetun
|
||||
DOT_PROVIDERS=google
|
||||
|
|
|
@ -2,11 +2,6 @@
|
|||
COMPANION_HOST=""
|
||||
EXVPP_HOST=""
|
||||
|
||||
# invidious-companion
|
||||
SERVER_SECRET_KEY=""
|
||||
SERVER_BASE_URL=""
|
||||
EXTERNAL_VIDEOPLAYBACK_PROXY=""
|
||||
|
||||
# Gluetun
|
||||
UPDATER_VPN_SERVICE_PROVIDERS=
|
||||
VPN_SERVICE_PROVIDER=
|
||||
|
|
|
@ -20,6 +20,7 @@ services:
|
|||
- ./denylist.txt:/etc/haproxy/denylist.txt
|
||||
- ./key.key:/certs/cert.pem.key
|
||||
- ./fullchain.pem:/certs/cert.pem
|
||||
- videoplayback_proxy:/tmp
|
||||
ports:
|
||||
- "${REVERSEPROXY_PUBLIC_PORT}:443/tcp"
|
||||
- "${REVERSEPROXY_METRICS_PORT}:10000/tcp"
|
||||
|
@ -38,6 +39,12 @@ services:
|
|||
- "127.0.0.1:7070:7070/tcp"
|
||||
- "51023:51023"
|
||||
|
||||
ytproxy:
|
||||
<<: *common-elements
|
||||
extends:
|
||||
file: ./proxy-components.yml
|
||||
service: ytproxy
|
||||
|
||||
companion:
|
||||
<<: *common-elements
|
||||
extends:
|
||||
|
@ -56,6 +63,9 @@ services:
|
|||
file: ./proxy-components.yml
|
||||
service: watchtower
|
||||
|
||||
volumes:
|
||||
videoplayback_proxy:
|
||||
|
||||
networks:
|
||||
proxy-server:
|
||||
driver: bridge
|
||||
|
|
|
@ -58,8 +58,7 @@ frontend www
|
|||
acl health_check path /health
|
||||
http-request return status 200 if health_check
|
||||
|
||||
# use_backend http3-ytproxy if h || hh
|
||||
# use_backend companion if c || cc
|
||||
use_backend http3-ytproxy if { path_beg /videoplayback } || { path /metrics_ytproxy }
|
||||
default_backend companion
|
||||
|
||||
backend http3-ytproxy
|
||||
|
|
|
@ -18,6 +18,19 @@ services:
|
|||
labels:
|
||||
- "com.centurylinklabs.watchtower.enable=true"
|
||||
|
||||
ytproxy:
|
||||
image: git.nadeko.net/fijxu/http3-ytproxy:latest
|
||||
network_mode: "service:gluetun"
|
||||
volumes:
|
||||
- videoplayback_proxy:/tmp
|
||||
depends_on:
|
||||
gluetun:
|
||||
condition: service_healthy
|
||||
webserver:
|
||||
condition: service_started
|
||||
labels:
|
||||
- "com.centurylinklabs.watchtower.enable=true"
|
||||
|
||||
gluetun:
|
||||
image: qmcgaw/gluetun:${GLUETUN_TAG}
|
||||
networks:
|
||||
|
|
Loading…
Add table
Reference in a new issue