From c4f1804cf9b6b98bad6b3860cfc0ef9a4094f719 Mon Sep 17 00:00:00 2001 From: Fijxu Date: Sat, 27 Apr 2024 20:10:12 -0400 Subject: [PATCH] docker-compose.yml for my instances --- docker-compose.yml | 22 ++++++++++++++-------- nginx.conf | 2 +- 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 63b2d4f5..5851c246 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,22 +8,28 @@ version: "3" services: invidious-refresher: - image: git.nadeko.net/invidious/invidious:latest + image: git.nadeko.net/fijxu/invidious:latest restart: unless-stopped - ports: - - "127.0.0.1:5432:5432" volumes: - - ./config/config.conf:/etc/config/invidious-refresher.conf + - ./config/config-refresher.yml:/etc/invidious/config.yml:ro + - ./logs:/var/log/invidious:rw + - /var/run/postgresql/.s.PGSQL.5432:/var/run/postgresql/.s.PGSQL.5432:rw + - /var/run/redis/redis.sock:/var/run/redis/redis.sock:rw + environment: + INVIDIOUS_CONFIG_FILE: /etc/invidious/config.yml invidious: - image: git.nadeko.net/invidious/invidious:latest + image: git.nadeko.net/fijxu/invidious:latest restart: unless-stopped - ports: - - "127.0.0.1:5432:5432" deploy: replicas: 4 volumes: - - ./config/config.conf:/etc/config/config.conf + - ./config/config.yml:/etc/invidious/config.yml:ro + - ./logs:/var/log/invidious:rw + - /var/run/postgresql/.s.PGSQL.5432:/var/run/postgresql/.s.PGSQL.5432:rw + - /var/run/redis/redis.sock:/var/run/redis/redis.sock:rw + environment: + INVIDIOUS_CONFIG_FILE: /etc/invidious/config.yml invidious-nginx: image: nginx:latest diff --git a/nginx.conf b/nginx.conf index 58d64b71..69aad3fd 100644 --- a/nginx.conf +++ b/nginx.conf @@ -1,6 +1,6 @@ user www-data; events { - worker_connections 1000; + worker_connections 1024; } http { server {