郑州市第一人民医院

appsettings.Production.json 1.9KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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:hykj800100@10.125.7.246:37017",
  19. //"Database": "madrunfabricdb"
  20. "ConnectionString": "mongodb://root:123456@192.168.1.94:27017", //本机
  21. "Database": "madrunfabricdb_base"
  22. },
  23. "Redis": {
  24. "HostName": "10.125.7.246",
  25. "Port": "6379",
  26. "Password": "hykj800100",
  27. "Defaultdatabase": "5",
  28. "InstanceName": "test"
  29. },
  30. "allprojectrole": "YWFJL|YWJL|YWZJ|CJGL|XTWH", //查看所有项目
  31. "spring": {
  32. "application": {
  33. "name": "distributionapi"
  34. }
  35. },
  36. "eureka": {
  37. "client": {
  38. "serviceUrl": "http://10.125.3.223:28100/eureka/"
  39. //"shouldFetchRegistry": false
  40. },
  41. "instance": {
  42. "ipAddress": "10.125.3.223",
  43. "preferIpAddress": true,
  44. //服务过期时间配置,
  45. //超过这个时间没有接收到心跳EurekaServer就会将这个实例剔除 #注意,EurekaServer一定要设置eureka.server.eviction-interval-timer-in-ms否则这个配置无效,这个配置一般为服务刷新时间配置的三倍
  46. //默认90s 在删除实例之前,EurekaServer等待的时间,默认= 90秒
  47. "leaseExpirationDurationInSeconds": 15,
  48. //服务刷新时间配置,每隔这个时间会主动心跳一次
  49. //默认30s 客户端需要发送心跳的频率,默认值= 30s
  50. "leaseRenewalIntervalInSeconds": 5,
  51. "statusPageUrlPath": "/api/info",
  52. "port": 28330
  53. // Remove comments to enable SSL requests
  54. // More changes in Program.cs are required if using direct C2C communications
  55. //,"securePortEnabled": true
  56. }
  57. }
  58. }