feat: 初次启动

This commit is contained in:
Blizzard
2026-04-27 21:23:13 +08:00
parent e515f6a287
commit bb8ad4d515
148 changed files with 8602 additions and 5678 deletions
+36
View File
@@ -0,0 +1,36 @@
Name: gateway
Host: 0.0.0.0
Port: 8888
Log:
Encoding: plain
Mode: console
# 跨域配置
Cors:
Enable: true
AllowOrigins:
- "*"
AllowMethods:
- GET
- POST
- PUT
- DELETE
- OPTIONS
AllowHeaders:
- Content-Type
- Authorization
- X-Requested-With
# 上游服务路由表
Upstreams:
- Prefix: /api/user
Target: http://127.0.0.1:9001
- Prefix: /api/file
Target: http://127.0.0.1:9002
- Prefix: /api/sys
Target: http://127.0.0.1:9003
- Prefix: /api/plant
Target: http://127.0.0.1:9004
- Prefix: /api/radio
Target: http://127.0.0.1:9005