# Environment Configuration Template # Copy this file to .env and update with your actual values # Elasticsearch Configuration (v8.18) ES_HOST=http://localhost:9200 ES_USERNAME= ES_PASSWORD= # Redis Configuration (for caching) REDIS_HOST=localhost REDIS_PORT=6479 REDIS_PASSWORD= # DeepL Translation API DEEPL_AUTH_KEY= # API Service Configuration API_HOST=0.0.0.0 API_PORT=6002 INDEXER_HOST=0.0.0.0 INDEXER_PORT=6004 # Optional service ports EMBEDDING_PORT=6005 TRANSLATION_PORT=6006 RERANKER_PORT=6007 EMBEDDING_SERVICE_URL=http://127.0.0.1:6005 TRANSLATION_SERVICE_URL=http://127.0.0.1:6006 RERANKER_SERVICE_URL=http://127.0.0.1:6007/rerank # Optional startup switches (run.sh / scripts/service_ctl.sh) START_EMBEDDING=0 START_TRANSLATOR=0 START_RERANKER=0 # Embedding Models TEXT_MODEL_DIR=/data/tw/models/bge-m3 # 已经改为web请求了,不使用本地模型 IMAGE_MODEL_DIR=/data/tw/models/cn-clip # 已经改为web请求了,不使用本地模型 # Cache Directory CACHE_DIR=.cache # MySQL Database Configuration (Shoplazza) DB_HOST= DB_PORT=3306 DB_DATABASE= DB_USERNAME= DB_PASSWORD=