58 lines
No EOL
1.5 KiB
YAML
58 lines
No EOL
1.5 KiB
YAML
# The same docker-compose.yml file but without gluetun and just host networking
|
|
|
|
services:
|
|
haproxy:
|
|
# https://github.com/iuridiniz/haproxy-quic-docker
|
|
# Image to support QUIC
|
|
image: iuridiniz/haproxy:3.0
|
|
restart: always
|
|
# Run as root to allow binding to port 80 and 443
|
|
user: 0:0
|
|
network_mode: host
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- ./haproxy-host.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
|
|
|
|
http3-ytproxy:
|
|
image: git.nadeko.net/fijxu/http3-ytproxy:latest
|
|
restart: unless-stopped
|
|
network_mode: host
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- videoplayback_proxy:/tmp
|
|
labels:
|
|
- "com.centurylinklabs.watchtower.enable=true"
|
|
depends_on: ["haproxy"]
|
|
|
|
companion:
|
|
image: git.nadeko.net/fijxu/invidious-companion:latest
|
|
restart: unless-stopped
|
|
network_mode: host
|
|
user: 2000:2000
|
|
env_file:
|
|
- .env
|
|
environment:
|
|
- HOST=127.0.0.1
|
|
volumes:
|
|
- ./cache:/var/tmp/youtubei.js:rw
|
|
- ./proxies.txt:/app/proxies.txt
|
|
labels:
|
|
- "com.centurylinklabs.watchtower.enable=true"
|
|
depends_on: ["haproxy"]
|
|
|
|
watchtower:
|
|
image: containrrr/watchtower
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
environment:
|
|
- WATCHTOWER_LABEL_ENABLE=true
|
|
- WATCHTOWER_POLL_INTERVAL=60
|
|
|
|
volumes:
|
|
videoplayback_proxy: |