feat: deer-flow通过gateway转发 (#193)

This commit is contained in:
hhhhsc701
2025-12-23 11:35:45 +08:00
committed by GitHub
parent d82bff441a
commit 6d61348388
8 changed files with 53 additions and 103 deletions

View File

@@ -33,6 +33,16 @@ public class ApiGatewayApplication {
.route("data-evaluation", r -> r.path("/api/evaluation/**")
.uri("http://datamate-backend-python:18000"))
.route("deer-flow-frontend", r -> r.path("/chat/**")
.uri("http://deer-flow-frontend:3000"))
.route("deer-flow-static", r -> r.path("/_next/**")
.uri("http://deer-flow-frontend:3000"))
.route("deer-flow-backend", r -> r.path("/deer-flow-backend/**")
.filters(f -> f.stripPrefix(1).prefixPath("/api"))
.uri("http://deer-flow-backend:8000"))
// 其他后端服务
.route("default", r -> r.path("/api/**")
.uri("http://datamate-backend:8080"))