1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-05 06:25:00 +00:00
dotfiles/dot-config/invid.yml

34 lines
779 B
YAML

services:
postgres:
image: postgres:10
restart: unless-stopped
volumes:
- postgresdata:/var/lib/postgresql/data
environment:
POSTGRES_DB: invidious
POSTGRES_USER: kemal
POSTGRES_PASSWORD: kemal
healthcheck:
test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER"]
invidious:
image: quay.io/invidious/invidious:latest
ports:
- "127.0.0.1:3000:3000"
environment:
INVIDIOUS_CONFIG: |
channel_threads: 4
check_tables: true
feed_threads: 4
db:
dbname: invidious
user: kemal
password: kemal
host: postgres
port: 5432
full_refresh: false
https_only: false
depends_on:
- postgres
volumes:
postgresdata: