49 lines
823 B
YAML
49 lines
823 B
YAML
Name: cms.api
|
|
Host: 0.0.0.0
|
|
Port: 9902
|
|
Timeout: 6000
|
|
Middlewares:
|
|
Tenant: true
|
|
|
|
CROSConf:
|
|
Address: '*'
|
|
|
|
Log:
|
|
ServiceName: AppApiLogger
|
|
Mode: console
|
|
Path: /home/data/logs
|
|
Level: info
|
|
Compress: false
|
|
Encoding: json
|
|
KeepDays: 7
|
|
StackCoolDownMillis: 100
|
|
|
|
RedisConf:
|
|
Host: 192.168.201.228:31314
|
|
Db: 4
|
|
Pass: 'redis.123456'
|
|
|
|
|
|
JWTConf:
|
|
AccessSecret: KdAj3ZnmHpVvGKBthWXmTNPRcdZaWP7cnbsvmJSYRadN8PebaaAQENVKDD6WCm
|
|
|
|
I18nConf:
|
|
Dir:
|
|
|
|
AppRpc:
|
|
#Target: 127.0.0.1:9101
|
|
Etcd:
|
|
Hosts:
|
|
- mingyang-etcd-test-service.mingyang-admin.svc.cluster.local:2379 # 共享etcd地址
|
|
Key: cms.rpc
|
|
Enabled: true
|
|
Timeout: 6000
|
|
Keepalive:
|
|
Time: 10s
|
|
Timeout: 20s
|
|
PermitWithoutStream: true
|
|
|
|
Etcd:
|
|
Hosts:
|
|
- mingyang-etcd-test-service.mingyang-admin.svc.cluster.local:2379
|
|
Key: cms.api |