umbrel-apps/invidious/docker-compose.yml

47 lines
1.2 KiB
YAML

version: "3.7"
services:
app_proxy:
environment:
APP_HOST: invidious_web_1
APP_PORT: 3000
web:
image: ceramicwhite/invidious:build-5160d8ba@sha256:42ad6ef922c5058a605fbf0cb60380f44a913b07710ef57848f72ec30fc04901
restart: on-failure
stop_grace_period: 1m
user: "1000:1000"
init: true
environment:
INVIDIOUS_CONFIG: |
db:
dbname: invidious
user: umbrel
password: moneyprintergobrrr
host: invidious_postgres_1
port: 5432
check_tables: true
external_port: 3420
captcha_enabled: false
admins: ["umbrel"]
default_user_preferences:
feed_menu: ["Trending", "Subscriptions", "Playlists"]
default_home: Trending
healthcheck:
disable: true
depends_on:
- postgres
postgres:
image: postgres:13.7@sha256:03652c675ae177af98ddd50f9f4b4b2cf8ad38d0e116aa68fe670fbc2cf250fc
restart: on-failure
user: "1000:1000"
stop_grace_period: 1m
init: true
volumes:
- ${APP_DATA_DIR}/data/db:/var/lib/postgresql/data
environment:
POSTGRES_DB: invidious
POSTGRES_USER: umbrel
POSTGRES_PASSWORD: moneyprintergobrrr