mirror of
https://github.com/getumbrel/umbrel-apps.git
synced 2026-11-22 22:02:29 +03:00
Co-authored-by: ulsklyc <ulsklyc@users.noreply.github.com> Co-authored-by: nmfretz <nmfretz@gmail.com>
29 lines
1017 B
YAML
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
|