docker-compose.yml for my instances
All checks were successful
Invidious CI / build (push) Successful in 4m17s
All checks were successful
Invidious CI / build (push) Successful in 4m17s
This commit is contained in:
parent
f9f252c75b
commit
c4f1804cf9
2 changed files with 15 additions and 9 deletions
|
@ -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
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
user www-data;
|
||||
events {
|
||||
worker_connections 1000;
|
||||
worker_connections 1024;
|
||||
}
|
||||
http {
|
||||
server {
|
||||
|
|
Loading…
Reference in a new issue