cd52a2f82f
Browser-based photo catalog with an optional team server (SQLite + LibRaw). Local database, uploaded photos, build output and dependencies are gitignored. 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
39 lines
1.8 KiB
YAML
39 lines
1.8 KiB
YAML
services:
|
|
luminary:
|
|
build: .
|
|
image: luminary:latest
|
|
container_name: luminary
|
|
restart: unless-stopped
|
|
ports:
|
|
- "${LUMINARY_PORT:-8787}:8787"
|
|
environment:
|
|
# LUMINARY_* settings; the server still accepts legacy LUMENROOM_* names.
|
|
# Invite code for every account after the first (admin) one.
|
|
LUMINARY_INVITE: ${LUMINARY_INVITE:-${LUMENROOM_INVITE:-}}
|
|
LUMINARY_MAX_UPLOAD: ${LUMINARY_MAX_UPLOAD:-${LUMENROOM_MAX_UPLOAD:-322122547}}
|
|
LUMINARY_RAW_EDGE: ${LUMINARY_RAW_EDGE:-${LUMENROOM_RAW_EDGE:-6000}}
|
|
# Per-account storage allowance and the fraction at which users are warned.
|
|
LUMINARY_QUOTA_BYTES: ${LUMINARY_QUOTA_BYTES:-107374182400}
|
|
LUMINARY_QUOTA_WARN_RATIO: ${LUMINARY_QUOTA_WARN_RATIO:-0.9}
|
|
# Optional URL shown in notification emails.
|
|
LUMINARY_PUBLIC_URL: ${LUMINARY_PUBLIC_URL:-}
|
|
# Optional Gmail SMTP fallback; admins can also set these in the UI.
|
|
LUMINARY_SMTP_USER: ${LUMINARY_SMTP_USER:-}
|
|
LUMINARY_SMTP_APP_PASSWORD: ${LUMINARY_SMTP_APP_PASSWORD:-}
|
|
LUMINARY_SMTP_FROM: ${LUMINARY_SMTP_FROM:-}
|
|
# Parallel raw decoders; each one holds a LibRaw worker (few hundred MB).
|
|
LUMINARY_RAW_WORKERS: ${LUMINARY_RAW_WORKERS:-${LUMENROOM_RAW_WORKERS:-4}}
|
|
# Bridge from the Media Team Hub: dashboard base URL and the shared HMAC
|
|
# secret (must match the dashboard's BRIDGE_SECRET). Empty disables it.
|
|
GLENLOCH_URL: ${GLENLOCH_URL:-}
|
|
BRIDGE_SECRET: ${BRIDGE_SECRET:-}
|
|
LUMINARY_BRIDGE_TTL_HOURS: ${LUMINARY_BRIDGE_TTL_HOURS:-${LUMENROOM_BRIDGE_TTL_HOURS:-12}}
|
|
volumes:
|
|
# Originals, previews, thumbnails and the SQLite catalog.
|
|
- lumenroom-data:/data
|
|
|
|
volumes:
|
|
# Retain the original volume name so an existing catalog can be upgraded in place.
|
|
lumenroom-data:
|
|
name: lumenroom-data
|