docs: .env.example — comprehensive env var reference matching config.rs

This commit is contained in:
Accusys
2026-05-15 13:20:36 +08:00
parent 5af8df9201
commit 08f088e4a0

View File

@@ -2,30 +2,49 @@
# Copy this file to .env and fill in your values
# DO NOT commit .env to version control
# Database
# === Database ===
DATABASE_URL=postgres://accusys@localhost:5432/momentry
DATABASE_SCHEMA=dev
# Redis
# === MongoDB ===
MONGODB_URL=mongodb://localhost:27017
MONGODB_DATABASE=momentry
MONGODB_CACHE_ENABLED=true
# === Redis ===
REDIS_URL=redis://:accusys@localhost:6379
REDIS_PASSWORD=accusys
MOMENTRY_REDIS_PREFIX=momentry_dev:
# API Keys
MOMENTRY_API_KEY=muser_your_demo_key_here
# === Qdrant ===
QDRANT_COLLECTION=momentry_rule1
# === API Keys ===
MOMENTRY_API_KEY=muser_your_key_here
MOMENTRY_DEMO_API_KEY=muser_your_demo_key_here
# TMDB (optional, for movie metadata)
TMDB_API_KEY=your_tmdb_api_key_here
# Service URLs
MOMENTRY_FFMPEG=/opt/homebrew/opt/ffmpeg-full/bin/ffmpeg
# === LLM ===
MOMENTRY_LLM_SUMMARY_URL=http://127.0.0.1:8082/v1/chat/completions
MOMENTRY_LLM_SUMMARY_MODEL=google_gemma-4-26B-A4B-it-Q5_K_M.gguf
MOMENTRY_LLM_SUMMARY_TIMEOUT=120
# Directories
# === Paths ===
MOMENTRY_OUTPUT_DIR=/Users/accusys/momentry/output_dev
MOMENTRY_BACKUP_DIR=/Users/accusys/momentry/backup
MOMENTRY_SCRIPTS_DIR=/Users/accusys/momentry_core_0.1/scripts
MOMENTRY_PYTHON_PATH=/opt/homebrew/bin/python3.11
MOMENTRY_FFMPEG=/opt/homebrew/opt/ffmpeg-full/bin/ffmpeg
MOMENTRY_MEDIA_BASE_URL=
# Encryption (32 bytes hex)
AUDIT_ENCRYPTION_KEY=
# === Encryption ===
AUDIT_ENCRYPTION_KEY= # 32 bytes hex (64 hex chars)
# Schema (dev for playground, public for production)
DATABASE_SCHEMA=dev
# === Processor Timeouts (seconds) ===
MOMENTRY_ASR_TIMEOUT=3600
MOMENTRY_CUT_TIMEOUT=3600
MOMENTRY_DEFAULT_TIMEOUT=7200
# === Server ===
MOMENTRY_SERVER_PORT=3003
MOMENTRY_LOG_LEVEL=info