1
0
Fork 0
forked from Fijxu/invidious
invidious/docker-compose.yml

37 lines
984 B
YAML
Raw Normal View History

# Warning: This docker-compose file is made for development purposes.
# Using it will build an image from the locally cloned repository.
#
# If you want to use Invidious in production, see the docker-compose.yml file provided
# in the installation documentation: https://docs.invidious.io/installation/
2022-02-21 21:54:36 -03:00
version: "3"
2018-09-26 04:46:08 -03:00
services:
2022-02-21 21:54:36 -03:00
2024-04-27 18:25:22 -04:00
invidious-refresher:
image: git.nadeko.net/invidious/invidious:latest
2018-09-26 04:46:08 -03:00
restart: unless-stopped
ports:
2024-04-27 18:25:22 -04:00
- "127.0.0.1:5432:5432"
volumes:
- ./config/config.conf:/etc/config/invidious-refresher.conf
2022-02-21 21:54:36 -03:00
2024-04-27 18:25:22 -04:00
invidious:
image: git.nadeko.net/invidious/invidious:latest
2022-02-21 21:54:36 -03:00
restart: unless-stopped
2024-04-27 18:25:22 -04:00
ports:
- "127.0.0.1:5432:5432"
deploy:
replicas: 4
2022-02-21 21:54:36 -03:00
volumes:
2024-04-27 18:25:22 -04:00
- ./config/config.conf:/etc/config/config.conf
2018-09-26 04:46:08 -03:00
2024-04-27 18:25:22 -04:00
invidious-nginx:
image: nginx:latest
restart: unless-stopped
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
depends_on:
- invidious
ports:
- "127.0.0.1:50011:3000"