| # Server Configuration | |
| HOST=0.0.0.0 | |
| PORT=9621 | |
| # Directory Configuration | |
| WORKING_DIR=/app/data/rag_storage | |
| INPUT_DIR=/app/data/inputs | |
| # LLM Configuration | |
| LLM_BINDING=ollama | |
| LLM_BINDING_HOST=http://localhost:11434 | |
| LLM_MODEL=mistral-nemo:latest | |
| # Embedding Configuration | |
| EMBEDDING_BINDING=ollama | |
| EMBEDDING_BINDING_HOST=http://localhost:11434 | |
| EMBEDDING_MODEL=bge-m3:latest | |
| # RAG Configuration | |
| MAX_ASYNC=4 | |
| MAX_TOKENS=32768 | |
| EMBEDDING_DIM=1024 | |
| MAX_EMBED_TOKENS=8192 | |
| # Security (empty for no key) | |
| LIGHTRAG_API_KEY=your-secure-api-key-here | |
| # Logging | |
| LOG_LEVEL=INFO | |
| # Optional SSL Configuration | |
| #SSL=true | |
| #SSL_CERTFILE=/path/to/cert.pem | |
| #SSL_KEYFILE=/path/to/key.pem | |
| # Optional Timeout | |
| #TIMEOUT=30 | |