agent_9art/backend/gateway/target/classes/application.yml
jiao d327826c78 chore: 完成项目整体打包与配置更新
1. 更新所有服务Dockerfile,切换到eclipse-temurin:17-jre-alpine镜像并调整服务端口
2. 配置前端项目基础路径与nginx代理
3. 新增数据库初始化编码设置与测试依赖
4. 添加部分服务的Servlet编码配置与JWT/LLM密钥配置
5. 完善话术实体类校验注解与Mapper接口
6. 新增密码生成工具类与部分测试文件配置
2026-05-21 11:40:22 +08:00

54 lines
1.4 KiB
YAML

server:
servlet:
encoding:
charset: UTF-8
enabled: true
force: true
port: 8080
spring:
application:
name: gateway
cloud:
gateway:
routes:
- id: auth-service
uri: http://auth-service:8081
predicates:
- Path=/api/v1/auth/**
- id: archive-service
uri: http://archive-service:8082
predicates:
- Path=/api/v1/archive/**
- id: conversation-service
uri: http://conversation-service:8083
predicates:
- Path=/api/v1/conversations/**
- id: intent-service
uri: http://intent-service:8084
predicates:
- Path=/api/v1/intent/**
- id: recommend-service
uri: http://recommend-service:8085
predicates:
- Path=/api/v1/recommend/**
- id: generation-service
uri: http://generation-service:8086
predicates:
- Path=/api/v1/generation/**
- id: kb-admin-service
uri: http://kb-admin-service:8087
predicates:
- Path=/api/v1/admin/**
- id: analytics-service
uri: http://analytics-service:8088
predicates:
- Path=/api/v1/analytics/**
globalcors:
cors-configurations:
'[/**]':
allowedOriginPatterns: "*"
allowedMethods: "*"
allowedHeaders: "*"
allowCredentials: true