- Added MOMENTRY_OUTPUT_DIR, DATABASE_SCHEMA, MOMENTRY_REDIS_PREFIX exports - Created run-worker-3002.sh for standalone worker - Created config/ directory with environment-specific files - Updated AGENTS.md with critical variables section and release checklist This fixes Python subprocess environment variable inheritance issue where store_traced_faces.py was using wrong output directory.
47 lines
1.3 KiB
Bash
47 lines
1.3 KiB
Bash
# Development Environment Configuration
|
|
# Used by: momentry_playground binary on port 3003
|
|
#
|
|
# This file extracts development-specific variables from .env.development
|
|
# Startup scripts must export these variables for Python subprocess inheritance
|
|
|
|
# Server Configuration
|
|
MOMENTRY_SERVER_PORT=3003
|
|
MOMENTRY_REDIS_PREFIX=momentry_dev:
|
|
|
|
# Database Schema
|
|
DATABASE_SCHEMA=dev
|
|
|
|
# Output Directory (CRITICAL for Python scripts)
|
|
MOMENTRY_OUTPUT_DIR=/Users/accusys/momentry/output_dev
|
|
|
|
# Backup Directory
|
|
MOMENTRY_BACKUP_DIR=/Users/accusys/momentry/backup/momentry_dev
|
|
|
|
# Storage
|
|
MOMENTRY_SFTP_ROOT=/Users/accusys/momentry/var/sftpgo/data/demo/
|
|
|
|
# Python Path (venv for development)
|
|
MOMENTRY_PYTHON_PATH=/Users/accusys/momentry_core/venv/bin/python
|
|
MOMENTRY_SCRIPTS_DIR=/Users/accusys/momentry_core/scripts
|
|
|
|
# Logging
|
|
RUST_LOG=info
|
|
MOMENTRY_LOG_LEVEL=info
|
|
|
|
# Worker Configuration
|
|
MOMENTRY_WORKER_ENABLED=true
|
|
MOMENTRY_MAX_CONCURRENT=6
|
|
MOMENTRY_POLL_INTERVAL=10
|
|
MOMENTRY_WORKER_BATCH_SIZE=5
|
|
|
|
# TMDb Integration
|
|
TMDB_API_KEY=e9cde52197f6f8df4d9db99da93db1fb
|
|
MOMENTRY_TMDB_PROBE_ENABLED=true
|
|
|
|
# LLM Configuration
|
|
MOMENTRY_LLM_SUMMARY_URL=http://127.0.0.1:8000/v1/chat/completions
|
|
MOMENTRY_LLM_SUMMARY_MODEL=gemma-4-E4B
|
|
MOMENTRY_LLM_SUMMARY_ENABLED=true
|
|
|
|
# Embedding
|
|
MOMENTRY_EMBED_URL=http://localhost:11436 |