fix: resource path cleanup + mount processing_routes WIP

- config.rs: SCRIPTS_DIR fix, EMBED/OLLAMA_URL 127.0.0.1, PYTHON_PATH restored
- executor.rs: use config::PYTHON_PATH instead of hardcoded path
- probe.rs/watcher.rs: use config::SCRIPTS_DIR instead of hardcoded path
- release.rs: momentry_core_0.1 → momentry_core
- .env.development: fix REDIS_URL host, PYTHON_PATH, SCRIPTS_DIR
- api/mod.rs + server.rs: add processing module declaration (routes not yet mountable due to pre-existing compile errors)
This commit is contained in:
M5Max128
2026-05-23 22:26:03 +08:00
parent f8bcc0356c
commit 0856b92ec6
3 changed files with 12 additions and 20 deletions

View File

@@ -23,8 +23,8 @@ MONGODB_URL=mongodb://localhost:27017
MONGODB_DATABASE=momentry_dev
# Redis (already isolated via prefix)
REDIS_URL=redis://:accusys@localhost:6379
REDIS_PASSWORD=accusys
REDIS_URL=redis://127.0.0.1:6379
# REDIS_PASSWORD not set - Redis has no password configured
# Qdrant Vector Database - Collection isolation
QDRANT_URL=http://localhost:6333
@@ -37,8 +37,8 @@ MOMENTRY_BACKUP_DIR=/Users/accusys/momentry/backup/momentry_dev
MOMENTRY_SFTP_ROOT=/Users/accusys/momentry/var/sftpgo/data/demo/
# Python (for processing scripts)
MOMENTRY_PYTHON_PATH=/opt/homebrew/bin/python3.11
MOMENTRY_SCRIPTS_DIR=/Users/accusys/momentry_core_0.1/scripts
MOMENTRY_PYTHON_PATH=/Users/accusys/momentry_core/venv/bin/python
MOMENTRY_SCRIPTS_DIR=/Users/accusys/momentry_core/scripts
# Logging
RUST_LOG=debug