Files
umbrel-apps/yuvomi/docker-compose.yml
T
2026-08-12 10:49:28 +10:00

29 lines
1017 B
YAML

version: "3.7"
services:
app_proxy:
environment:
APP_HOST: yuvomi_web_1
APP_PORT: 3000
web:
image: ghcr.io/ulsklyc/yuvomi:2.6.0@sha256:28c134190158c5933c36162aa95ec53a63a44f29fdda2abcdd97d6a630df2f73
restart: on-failure
stop_grace_period: 1m
# No `user:` override: the image entrypoint starts as root only to chown the
# app data and backup volumes, then drops to the unprivileged `node` user via gosu.
volumes:
- ${APP_DATA_DIR}/data/app:/data
- ${APP_DATA_DIR}/data/backups:/backups
environment:
- NODE_ENV=production
- PORT=3000
- DB_PATH=/data/yuvomi.db
- BACKUP_DIR=/backups
# SESSION_SECRET is required; Umbrel injects a deterministic per-app secret.
- SESSION_SECRET=${APP_SEED}
# DB_ENCRYPTION_KEY enables Yuvomi's SQLite encryption and must stay stable.
- DB_ENCRYPTION_KEY=${APP_SEED}
# Umbrel serves apps over plain HTTP on the LAN, so secure cookies stay off.
- SESSION_SECURE=false