re add my ytproxy proxy again
Deno doesn't seem to have a very good performance, I have no metrics, but I just feel that this proxy is just better.
This commit is contained in:
parent
21529a0f1d
commit
eba0bf7ccc
3 changed files with 24 additions and 2 deletions
|
@ -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