docker-compose.yml for my instances
All checks were successful
Invidious CI / build (push) Successful in 4m17s

This commit is contained in:
Fijxu 2024-04-27 20:10:12 -04:00
parent f9f252c75b
commit c4f1804cf9
2 changed files with 15 additions and 9 deletions

View file

@ -8,22 +8,28 @@ version: "3"
services: services:
invidious-refresher: invidious-refresher:
image: git.nadeko.net/invidious/invidious:latest image: git.nadeko.net/fijxu/invidious:latest
restart: unless-stopped restart: unless-stopped
ports:
- "127.0.0.1:5432:5432"
volumes: 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: invidious:
image: git.nadeko.net/invidious/invidious:latest image: git.nadeko.net/fijxu/invidious:latest
restart: unless-stopped restart: unless-stopped
ports:
- "127.0.0.1:5432:5432"
deploy: deploy:
replicas: 4 replicas: 4
volumes: 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: invidious-nginx:
image: nginx:latest image: nginx:latest

View file

@ -1,6 +1,6 @@
user www-data; user www-data;
events { events {
worker_connections 1000; worker_connections 1024;
} }
http { http {
server { server {