docker-compose.yml for my instances
This commit is contained in:
parent
ad591f3c32
commit
6e1e3e9554
2 changed files with 16 additions and 10 deletions
|
@ -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
|
||||||
|
@ -33,4 +39,4 @@ services:
|
||||||
depends_on:
|
depends_on:
|
||||||
- invidious
|
- invidious
|
||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:50011:3000"
|
- "127.0.0.1:10011:3000"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
user www-data;
|
user www-data;
|
||||||
events {
|
events {
|
||||||
worker_connections 1000;
|
worker_connections 1024;
|
||||||
}
|
}
|
||||||
http {
|
http {
|
||||||
server {
|
server {
|
||||||
|
|
Loading…
Reference in a new issue