颐和api

appsettings.Development_Test.json 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. {
  2. "Cors": "",
  3. "Logging": {
  4. "IncludeScopes": false,
  5. "LogLevel": {
  6. "Default": "Debug",
  7. "System": "Error",
  8. "Microsoft": "Error",
  9. "Steeltoe": "Error"
  10. }
  11. },
  12. "Jwt": {
  13. "Issuer": "HySignToken",
  14. "Audience": "HyCallCenterApi",
  15. "SecretKey": "HYBambooJIe256sdkDfjiTSkjienTGjnVcu85114udfhbudgdkfUh"
  16. },
  17. "MongoConnection": {
  18. //"ConnectionString": "mongodb://root:123456@192.168.5.44:27017",
  19. //"Database": "madrunfabricdb"
  20. "ConnectionString": "mongodb://root:123456@192.168.5.44:27017", //本机
  21. "Database": "yh"
  22. },
  23. "Redis": {
  24. "HostName": "192.168.5.44",
  25. "Port": "6379",
  26. "Password": "",
  27. "Defaultdatabase": "5",
  28. "InstanceName": "test"
  29. },
  30. "spring": {
  31. "application": {
  32. "name": "onlinechatapi"
  33. }
  34. },
  35. "eureka": {
  36. "client": {
  37. "serviceUrl": "http://192.168.5.46:28100/eureka/"
  38. //"shouldFetchRegistry": false
  39. },
  40. "instance": {
  41. "preferIpAddress": true,
  42. //服务过期时间配置,
  43. //超过这个时间没有接收到心跳EurekaServer就会将这个实例剔除 #注意,EurekaServer一定要设置eureka.server.eviction-interval-timer-in-ms否则这个配置无效,这个配置一般为服务刷新时间配置的三倍
  44. //默认90s 在删除实例之前,EurekaServer等待的时间,默认= 90秒
  45. "leaseExpirationDurationInSeconds": 15,
  46. //服务刷新时间配置,每隔这个时间会主动心跳一次
  47. //默认30s 客户端需要发送心跳的频率,默认值= 30s
  48. "leaseRenewalIntervalInSeconds": 5,
  49. "statusPageUrlPath": "/api/info",
  50. "port": 28300
  51. // Remove comments to enable SSL requests
  52. // More changes in Program.cs are required if using direct C2C communications
  53. //,"securePortEnabled": true
  54. }
  55. }
  56. }