6 Commits

Author SHA1 Message Date
admin 4f203e3b56 fix: nginx 添加 client_max_body_size 200m 支持大文件上传
GraphRAG CI/CD / build-and-deploy (push) Successful in 2m29s
2026-06-18 16:08:23 +08:00
admin 58079daba9 feat: 添加 Gitea Actions CI/CD — tag 驱动环境部署
GraphRAG CI/CD / build-and-deploy (push) Failing after 3m49s
- git push → 构建镜像 (sha-xxx) → 部署到 test (graphrag-test)
- git push --tags → 构建镜像 (vx.y.z) → 部署到 prod (graphrag-prod)
- DNS + hostAliases + nodeAffinity 固化到 deployment yaml
- 前后端均固定到 k8smaster 节点,便于 CI 导入 containerd 镜像
2026-06-18 14:26:15 +08:00
admin 347f9dcae5 fix: deploy.sh 后端域名 nginx 配置 — /docs /redoc 走 backend 而非 frontend
后端域名 (-backend.plfai.cn) 不需要前端,location / 应直接代理到 backend:8000,
否则 /docs /redoc /openapi.json 被错误转发到前端 nginx 导致 504。
2026-06-17 23:29:24 +08:00
admin 1d12cb574e fix: cleanup k8s configs, add deploy.sh, remove hardcoded secrets
- Add one-click deploy script (k8s/deploy.sh) for test + prod
- Add startupProbe to backend (60x10s = 10min grace for ML model loading)
- Add configmap.yaml and secret.yaml (envsubst from backend/.env)
- Fix image URLs: add registry.plfai.cn prefix
- Fix frontend: API base URL relative (/api/v1), login-required mode
- Remove hardcoded localhost references from frontend
- Clean broken kustomize overlays
- Add nodeAffinity for backend→k8smaster, frontend→plf-cvm/k8smaster
- Remove dead ReplicaSets and stale pods during deploy
2026-06-16 14:15:31 +08:00
admin 23f07dd3a7 feat: 集成 Keycloak 认证 — 前后端 + K8s 配置 2026-06-15 17:30:57 +08:00
admin eeea55e9e4 feat: 添加 Dockerfile、docker-compose 及 K8s kustomize 部署文件 2026-06-15 16:49:35 +08:00