feat: 集成 Keycloak 认证 — 前后端 + K8s 配置

This commit is contained in:
2026-06-15 17:30:57 +08:00
parent eeea55e9e4
commit 23f07dd3a7
13 changed files with 268 additions and 16 deletions
+7
View File
@@ -12,3 +12,10 @@ MINERU_PYTHON=/root/projects/GraphRAGAgent/mineru_mvp/.venv/bin/python
# Linux: /home/user/GraphRAGAgent/mineru_mvp/pipeline.py
# Windows: F:/GraphRAGAgent/mineru_mvp/pipeline.py
MINERU_PIPELINE=/root/projects/GraphRAGAgent/mineru_mvp/pipeline.py
# Keycloak OIDC (authentication)
KEYCLOAK_SERVER_URL=https://keycloak.plfai.cn
KEYCLOAK_REALM=plfai
KEYCLOAK_CLIENT_ID=graphrag-backend
KEYCLOAK_CLIENT_SECRET=your_keycloak_client_secret_here
KEYCLOAK_AUDIENCE=account