Files
ocean/gateway/etc/gateway-api.yaml

19 lines
291 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Name: gateway-api
Host: 0.0.0.0
Port: 60000
JwtAuth:
AccessSecret: "your-secure-secret"
AccessExpire: 900 # 可选单位秒15分钟
UserRpc:
Etcd:
Hosts:
- 127.0.0.1:2379
Key: user.rpc
CategoryRpc:
Etcd:
Hosts:
- 127.0.0.1:2379
Key: category.rpc