mirror of
https://github.com/getumbrel/umbrel-apps.git
synced 2026-11-22 14:01:34 +03:00
Co-authored-by: Kai Chappel <kaichappel@users.noreply.github.com>
27 lines
897 B
YAML
27 lines
897 B
YAML
version: "3.7"
|
|
|
|
services:
|
|
app_proxy:
|
|
environment:
|
|
APP_HOST: yuvomi_web_1
|
|
APP_PORT: 3000
|
|
|
|
web:
|
|
image: ghcr.io/ulsklyc/yuvomi:1.43.0@sha256:b0327d36ce952e6a49b0f0c0099b4a13f4169c8372f3771206da1ca3e3571b3d
|
|
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}
|
|
# Umbrel serves apps over plain HTTP on the LAN, so secure cookies stay off.
|
|
- SESSION_SECURE=false
|