diff --git a/env.example b/env.example index 1ac03e54..ca780fc2 100644 --- a/env.example +++ b/env.example @@ -172,7 +172,7 @@ REDIS_URI=redis://localhost:6379 ### For JWT Auth # AUTH_ACCOUNTS='admin:admin123,user1:pass456' -# TOKEN_SECRET=Your-Key-For-LightRAG-API-Server +# TOKEN_SECRET=Your-Key-For-LightRAG-API-Server # TOKEN_EXPIRE_HOURS=4 ### API-Key to access LightRAG Server API diff --git a/lightrag/api/README.md b/lightrag/api/README.md index ebeb811e..8e8a1980 100644 --- a/lightrag/api/README.md +++ b/lightrag/api/README.md @@ -92,7 +92,7 @@ lightrag-server ``` lightrag-gunicorn --workers 4 ``` -The `.env` file **must be placed in the startup directory**. +The `.env` file **must be placed in the startup directory**. Upon launching, the LightRAG Server will create a documents directory (default is `./inputs`) and a data directory (default is `./rag_storage`). This allows you to initiate multiple instances of LightRAG Server from different directories, with each instance configured to listen on a distinct network port.