diff --git a/api/etc/test.yaml b/api/etc/test.yaml new file mode 100644 index 0000000..079bc56 --- /dev/null +++ b/api/etc/test.yaml @@ -0,0 +1,49 @@ +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 \ No newline at end of file