43 lines
890 B
YAML
43 lines
890 B
YAML
services:
|
|
inv_sig_helper_cluster:
|
|
image: quay.io/invidious/inv-sig-helper
|
|
restart: unless-stopped
|
|
mem_limit: "512m"
|
|
cpus: 0.2
|
|
init: true
|
|
command: ["--tcp", "0.0.0.0:12999"]
|
|
stop_grace_period: 5s
|
|
logging:
|
|
driver: none
|
|
environment:
|
|
- RUST_LOG=warn
|
|
deploy:
|
|
replicas: 5
|
|
networks:
|
|
- invidious
|
|
# - gluetun_network
|
|
# - gluetun_network_2
|
|
# - invidious-external
|
|
|
|
sig-haproxy:
|
|
image: haproxy:lts-alpine
|
|
restart: always
|
|
ports:
|
|
- "127.0.0.1:10095:8405"
|
|
volumes:
|
|
- ./haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg
|
|
networks:
|
|
- invidious
|
|
- gluetun_network
|
|
- gluetun_network_2
|
|
- invidious-external
|
|
|
|
networks:
|
|
invidious:
|
|
external: true
|
|
gluetun_network:
|
|
external: true
|
|
gluetun_network_2:
|
|
external: true
|
|
invidious-external:
|
|
external: true
|