2022-02-22 14:31:45 -03:00
|
|
|
# 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
|
2022-07-13 15:55:06 -04:00
|
|
|
# in the installation documentation: https://docs.invidious.io/installation/
|
2022-02-21 22:11:44 -03:00
|
|
|
|
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"
|