yangdx
commited on
Commit
·
529287b
1
Parent(s):
578ed1a
Updated JWT auth configuration in env.example.
Browse files- env.example +5 -5
env.example
CHANGED
@@ -151,9 +151,9 @@ QDRANT_URL=http://localhost:16333
|
|
151 |
### Redis
|
152 |
REDIS_URI=redis://localhost:6379
|
153 |
|
154 |
-
|
155 |
-
AUTH_USERNAME=admin
|
156 |
-
AUTH_PASSWORD=admin123
|
157 |
-
TOKEN_SECRET=your-key
|
158 |
-
TOKEN_EXPIRE_HOURS=4
|
159 |
WHITELIST_PATHS=/login,/health # white list
|
|
|
151 |
### Redis
|
152 |
REDIS_URI=redis://localhost:6379
|
153 |
|
154 |
+
### For JWTt Auth
|
155 |
+
AUTH_USERNAME=admin # login name
|
156 |
+
AUTH_PASSWORD=admin123 # password
|
157 |
+
TOKEN_SECRET=your-key-for-LightRAG-API-Server # JWT key
|
158 |
+
TOKEN_EXPIRE_HOURS=4 # expire duration
|
159 |
WHITELIST_PATHS=/login,/health # white list
|