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
|
||||
|
||||
# https://docs.docker.com/compose/how-tos/multiple-compose-files/include/
|
||||
include:
|
||||
- ../valkey-invidious/docker-compose.yml
|
||||
#- ../invidious-companion/docker-compose.yml
|
||||
# Not used anymore, that is why it's commented
|
||||
# include:
|
||||
# - ../valkey-invidious/docker-compose.yml
|
||||
# #- ../invidious-companion/docker-compose.yml
|
||||
|
||||
# https://docs.docker.com/reference/compose-file/extension/
|
||||
x-common-invidious-env: &common-invidious-env
|
||||
INVIDIOUS_CONFIG_FILE: "/etc/invidious/config.yml"
|
||||
INVIDIOUS_REDIS_URL: "tcp://valkey:6379"
|
||||
|
||||
x-common: &common-invidious
|
||||
#hostname: invidious
|
||||
|
@ -17,10 +17,13 @@ x-common: &common-invidious
|
|||
- .env-invidious
|
||||
image: "git.nadeko.net/fijxu/invidious:latest"
|
||||
restart: always
|
||||
###
|
||||
# I recommend leaving this like this
|
||||
mem_limit: 780MB
|
||||
cpus: 0.50
|
||||
deploy:
|
||||
replicas: 4
|
||||
###
|
||||
volumes:
|
||||
# Thist postgresql mount is not needed anymore since I use pgbouncer now
|
||||
# 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
|
||||
|
||||
x-common-anubis-env: &common-anubis-env
|
||||
DIFFICULTY: "2"
|
||||
DIFFICULTY: "3"
|
||||
SERVE_ROBOTS_TXT: "true"
|
||||
BIND: "0.0.0.0:4000"
|
||||
METRICS_BIND: "0.0.0.0:9090"
|
||||
|
|
Loading…
Add table
Reference in a new issue