From 08f088e4a078d44e45c22cd1e8a9da04e5ceebd4 Mon Sep 17 00:00:00 2001 From: Accusys Date: Fri, 15 May 2026 13:20:36 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20.env.example=20=E2=80=94=20comprehensiv?= =?UTF-8?q?e=20env=20var=20reference=20matching=20config.rs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.example | 45 ++++++++++++++++++++++++++++++++------------- 1 file changed, 32 insertions(+), 13 deletions(-) diff --git a/.env.example b/.env.example index 3745dd8..9c36d71 100644 --- a/.env.example +++ b/.env.example @@ -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