muyu-apiserver/gateway/etc/gateway-api.yaml
Chever John a25acdc5e4 chore: sync codebase with upstream
Pull latest changes from upstream/main (GitHub) including:
- Purchase RPC service (proto, server, logic, models)
- Gateway route updates for purchase endpoints
- SQL migration and config updates

Excludes deploy/bin/ pre-compiled arm64 binaries (builds use
multi-stage Dockerfiles targeting amd64).
2026-06-15 09:20:56 +08:00

38 lines
689 B
YAML

Name: gateway-api
Host: 0.0.0.0
Port: 8888
Auth:
AccessSecret: muyu-wms-jwt-secret-key-2026
AccessExpire: 7200
DefaultTenantId: t_default_001
DataSource: root:muyu2026@tcp(127.0.0.1:3306)/muyu_wms?charset=utf8mb4&parseTime=true&loc=Asia%2FShanghai
PostgresDataSource: "postgres://muyu:muyu2026@127.0.0.1:5432/muyu_crm?sslmode=disable"
SystemRpc:
Etcd:
Hosts:
- 127.0.0.1:2379
Key: system.rpc
NonBlock: true
InventoryRpc:
Etcd:
Hosts:
- 127.0.0.1:2379
Key: inventory.rpc
NonBlock: true
PurchaseRpc:
Etcd:
Hosts:
- 127.0.0.1:2379
Key: purchase.rpc
NonBlock: true
Log:
ServiceName: gateway-api
Mode: console
Level: info