mirror of
https://github.com/getumbrel/umbrel-apps.git
synced 2026-11-26 07:33:12 +03:00
Co-authored-by: ulsklyc <github-actions[bot]@users.noreply.github.com>
29 lines
1018 B
YAML
29 lines
1018 B
YAML
version: "3.7"
|
|
|
|
services:
|
|
app_proxy:
|
|
environment:
|
|
APP_HOST: yuvomi_web_1
|
|
APP_PORT: 3000
|
|
|
|
web:
|
|
image: ghcr.io/ulsklyc/yuvomi:2.95.0@sha256:c4b98dcfa07893ac3da3d5ca22d2b18492fdc81075fbbfead9050ce3821440af
|
|
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
|