2022-02-22 17:31:45 +00: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 21:55:06 +02:00
|
|
|
# in the installation documentation: https://docs.invidious.io/installation/
|
2022-02-22 02:11:44 +01:00
|
|
|
|
2022-02-22 01:54:36 +01:00
|
|
|
version: "3"
|
2018-09-26 09:46:08 +02:00
|
|
|
services:
|
2022-02-22 01:54:36 +01:00
|
|
|
|
2024-04-27 18:25:22 -04:00
|
|
|
invidious-refresher:
|
|
|
|
image: git.nadeko.net/invidious/invidious:latest
|
2018-09-26 09:46:08 +02: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-22 01:54:36 +01:00
|
|
|
|
2024-04-27 18:25:22 -04:00
|
|
|
invidious:
|
|
|
|
image: git.nadeko.net/invidious/invidious:latest
|
2022-02-22 01:54:36 +01:00
|
|
|
restart: unless-stopped
|
2024-04-27 18:25:22 -04:00
|
|
|
ports:
|
|
|
|
- "127.0.0.1:5432:5432"
|
|
|
|
deploy:
|
|
|
|
replicas: 4
|
2022-02-22 01:54:36 +01:00
|
|
|
volumes:
|
2024-04-27 18:25:22 -04:00
|
|
|
- ./config/config.conf:/etc/config/config.conf
|
2018-09-26 09:46:08 +02: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"
|