umbrel-apps/invidious/docker-compose.yml

49 lines
1.3 KiB
YAML

version: "3.7"
services:
app_proxy:
environment:
APP_HOST: invidious_web_1
APP_PORT: 3000
web:
image: ceramicwhite/invidious:build-1c0b420@sha256:71d18b8b637fa37ae859e20402a97559c45ea1d2be08bd7035159118432f43ce
restart: on-failure
stop_grace_period: 1m
user: "1000:1000"
# Using official images that include tini
#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
hmac_key: "${APP_SEED}"
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