mingyang-admin-iot-app/api/etc/app.yaml

39 lines
662 B
YAML
Raw Permalink 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: App.api
Host: 0.0.0.0
Port: 9902
Timeout: 4000
CROSConf:
Address: '*'
Log:
ServiceName: AppApiLogger
Mode: console
Path: /home/data/logs/App/api
Level: info
Compress: false
Encoding: json
KeepDays: 7
StackCoolDownMillis: 100
RedisConf:
Host: 192.168.201.58:6379
Db: 0
JWTConf:
AccessSecret: KdAj3ZnmHpVvGKBthWXmTNPRcdZaWP7cnbsvmJSYRadN8PebaaAQENVKDD6WCm
I18nConf:
Dir:
AppRpc:
#Target: 127.0.0.1:9101
Etcd:
Hosts:
- 192.168.201.58:2379 # 共享etcd地址
Key: app.rpc
Enabled: true
NonBlock: true
Timeout: 3000
RetryCount: 1 # 重试次数如果为1则最多调用2次包括第一次