update config :3
This commit is contained in:
parent
0b420bbbbf
commit
a7b4bee323
2 changed files with 8 additions and 9 deletions
|
@ -1,4 +0,0 @@
|
||||||
# ANUBIS
|
|
||||||
# Generate it with `openssl rand -hex 32`
|
|
||||||
# https://github.com/TecharoHQ/anubis/blob/main/docs/docs/admin/installation.mdx
|
|
||||||
ED25519_PRIVATE_KEY_HEX=""
|
|
|
@ -1,14 +1,14 @@
|
||||||
# Docker compose file for inv.nadeko.net
|
# Docker compose file for inv.nadeko.net
|
||||||
|
|
||||||
# https://docs.docker.com/compose/how-tos/multiple-compose-files/include/
|
# https://docs.docker.com/compose/how-tos/multiple-compose-files/include/
|
||||||
include:
|
# Not used anymore, that is why it's commented
|
||||||
- ../valkey-invidious/docker-compose.yml
|
# include:
|
||||||
#- ../invidious-companion/docker-compose.yml
|
# - ../valkey-invidious/docker-compose.yml
|
||||||
|
# #- ../invidious-companion/docker-compose.yml
|
||||||
|
|
||||||
# https://docs.docker.com/reference/compose-file/extension/
|
# https://docs.docker.com/reference/compose-file/extension/
|
||||||
x-common-invidious-env: &common-invidious-env
|
x-common-invidious-env: &common-invidious-env
|
||||||
INVIDIOUS_CONFIG_FILE: "/etc/invidious/config.yml"
|
INVIDIOUS_CONFIG_FILE: "/etc/invidious/config.yml"
|
||||||
INVIDIOUS_REDIS_URL: "tcp://valkey:6379"
|
|
||||||
|
|
||||||
x-common: &common-invidious
|
x-common: &common-invidious
|
||||||
#hostname: invidious
|
#hostname: invidious
|
||||||
|
@ -17,10 +17,13 @@ x-common: &common-invidious
|
||||||
- .env-invidious
|
- .env-invidious
|
||||||
image: "git.nadeko.net/fijxu/invidious:latest"
|
image: "git.nadeko.net/fijxu/invidious:latest"
|
||||||
restart: always
|
restart: always
|
||||||
|
###
|
||||||
|
# I recommend leaving this like this
|
||||||
mem_limit: 780MB
|
mem_limit: 780MB
|
||||||
cpus: 0.50
|
cpus: 0.50
|
||||||
deploy:
|
deploy:
|
||||||
replicas: 4
|
replicas: 4
|
||||||
|
###
|
||||||
volumes:
|
volumes:
|
||||||
# Thist postgresql mount is not needed anymore since I use pgbouncer now
|
# Thist postgresql mount is not needed anymore since I use pgbouncer now
|
||||||
# which is at the end of this docker compose file
|
# which is at the end of this docker compose file
|
||||||
|
@ -39,7 +42,7 @@ x-common-haproxy: &common-haproxy
|
||||||
- ./haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg
|
- ./haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg
|
||||||
|
|
||||||
x-common-anubis-env: &common-anubis-env
|
x-common-anubis-env: &common-anubis-env
|
||||||
DIFFICULTY: "2"
|
DIFFICULTY: "3"
|
||||||
SERVE_ROBOTS_TXT: "true"
|
SERVE_ROBOTS_TXT: "true"
|
||||||
BIND: "0.0.0.0:4000"
|
BIND: "0.0.0.0:4000"
|
||||||
METRICS_BIND: "0.0.0.0:9090"
|
METRICS_BIND: "0.0.0.0:9090"
|
||||||
|
|
Loading…
Add table
Reference in a new issue