Deno doesn't seem to have a very good performance, I have no metrics, but I just feel that this proxy is just better.
76 lines
No EOL
1.7 KiB
YAML
76 lines
No EOL
1.7 KiB
YAML
x-common-elements: &common-elements
|
|
restart: always
|
|
env_file:
|
|
- path: ./.common.env
|
|
- path: ./.env
|
|
|
|
services:
|
|
# HAProxy
|
|
webserver:
|
|
# https://github.com/iuridiniz/haproxy-quic-docker
|
|
# Image to support QUIC (altrough I don't use QUIC anymore becuase it's
|
|
# useless for video streaming, for a reason Netflix doesn't even use it)
|
|
image: iuridiniz/haproxy:${HAPROXY_TAG}
|
|
<<: *common-elements
|
|
networks:
|
|
proxy-server:
|
|
ipv4_address: 172.50.0.2
|
|
volumes:
|
|
- ./haproxy.cfg:/etc/haproxy/haproxy.cfg
|
|
- ./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"
|
|
|
|
i2p:
|
|
image: ghcr.io/purplei2p/i2pd:latest
|
|
<<: *common-elements
|
|
networks:
|
|
proxy-server:
|
|
ipv4_address: 172.50.0.5
|
|
# Temporary root user until I make my own I2Pd image
|
|
user: 0:0
|
|
volumes:
|
|
- ./i2pd_data:/home/i2pd/data
|
|
ports:
|
|
- "127.0.0.1:7070:7070/tcp"
|
|
- "51023:51023"
|
|
|
|
ytproxy:
|
|
<<: *common-elements
|
|
extends:
|
|
file: ./proxy-components.yml
|
|
service: ytproxy
|
|
|
|
companion:
|
|
<<: *common-elements
|
|
extends:
|
|
file: ./proxy-components.yml
|
|
service: companion
|
|
|
|
gluetun:
|
|
<<: *common-elements
|
|
extends:
|
|
file: ./proxy-components.yml
|
|
service: gluetun
|
|
|
|
watchtower:
|
|
<<: *common-elements
|
|
extends:
|
|
file: ./proxy-components.yml
|
|
service: watchtower
|
|
|
|
volumes:
|
|
videoplayback_proxy:
|
|
|
|
networks:
|
|
proxy-server:
|
|
driver: bridge
|
|
ipam:
|
|
driver: default
|
|
config:
|
|
- subnet: 172.50.0.0/24
|
|
gateway: 172.50.0.1 |