docker i fucking hate you why don't you guys allow container_name with replicas like wtf it's so simple

This commit is contained in:
root 2024-09-03 23:52:52 -04:00
parent df3c34572f
commit 7cd7c1a3f0
3 changed files with 6 additions and 6 deletions

View file

@ -1,7 +1,7 @@
services: services:
http3-proxy: http3-proxy:
image: git.nadeko.net/fijxu/http3-proxy:latest image: git.nadeko.net/fijxu/http3-proxy:latest
container_name: invidious-http3-proxy #container_name: invidious-http3-proxy
restart: unless-stopped restart: unless-stopped
environment: environment:
DISABLE_WEBP: 1 DISABLE_WEBP: 1

View file

@ -1,7 +1,7 @@
services: services:
inv_sig_helper: inv_sig_helper:
image: quay.io/invidious/inv-sig-helper image: quay.io/invidious/inv-sig-helper
container_name: invidious-signature-helper # container_name: invidious-signature-helper
restart: unless-stopped restart: unless-stopped
init: true init: true
command: ["--tcp", "0.0.0.0:12999"] command: ["--tcp", "0.0.0.0:12999"]

View file

@ -19,14 +19,14 @@ services:
INVIDIOUS_CONFIG_FILE: /etc/invidious/config.yml INVIDIOUS_CONFIG_FILE: /etc/invidious/config.yml
depends_on: depends_on:
- valkey - valkey
- invidious_pgbouncer - invidious-pgbouncer
# INVIDIOUS CLEARNET # INVIDIOUS CLEARNET
invidious: invidious:
env_file: env_file:
- .env - .env
image: "git.nadeko.net/fijxu/invidious:${TAG}" image: "git.nadeko.net/fijxu/invidious:${TAG}"
container_name: invidious # container_name: invidious
restart: unless-stopped restart: unless-stopped
deploy: deploy:
replicas: 6 replicas: 6
@ -112,7 +112,7 @@ services:
env_file: env_file:
- .env - .env
image: "git.nadeko.net/fijxu/invidious:${TAG}" image: "git.nadeko.net/fijxu/invidious:${TAG}"
container_name: invidious-tor # container_name: invidious-tor
restart: unless-stopped restart: unless-stopped
deploy: deploy:
replicas: 2 replicas: 2
@ -200,7 +200,7 @@ services:
env_file: env_file:
- .env - .env
image: "git.nadeko.net/fijxu/invidious:${TAG}" image: "git.nadeko.net/fijxu/invidious:${TAG}"
container_name: invidious-i2p # container_name: invidious-i2p
restart: unless-stopped restart: unless-stopped
deploy: deploy:
replicas: 2 replicas: 2