Commit Graph

2 Commits

Author SHA1 Message Date
hailin cb9953047f feat(gateway): 添加 transfer-service Kong 路由配置
在 kong.yml 和 kong-standalone.yml 中注册 transfer-service (端口 3013):
- /api/v1/transfers → transfer-api(用户端转让操作)
- /api/v1/admin/transfers → transfer-admin-api(管理端)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 22:10:09 -08:00
hailin 981b11f746 feat(api-gateway): 添加 standalone 模式 (up2) 支持 2.0 服务与 Kong 同机部署
- 新增 kong-standalone.yml: 2.0 服务通过 host.docker.internal 访问本机端口
  1.0 服务仍走 192.168.1.111, CORS 已添加 mapi.szaiai.com
- 新增 docker-compose.standalone.yml: compose override 添加 extra_hosts
- deploy.sh 新增 up2/sync2 命令

用法:
  ./deploy.sh up2    # 启动 Kong (standalone)
  ./deploy.sh sync2  # 重新同步 standalone 配置

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-01 21:44:20 -08:00