You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

appsettings.test.json 2.0KB

6 mesi fa
4 mesi fa
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {
  2. "Logging": {
  3. "LogLevel": {
  4. "Default": "Information",
  5. "Microsoft.AspNetCore": "Warning"
  6. }
  7. },
  8. "TDengineServiceConfig": {
  9. "Host": "172.19.42.44", // 测试环境内网
  10. //"Host": "47.116.142.20", // 测试环境公网
  11. "UserName": "root",
  12. "Password": "taosdata",
  13. "Token": "cm9vdDp0YW9zZGF0YQ==",
  14. "Port": 6030,
  15. "RestPort": 6041,
  16. "DB": "health_monitor"
  17. },
  18. "Redis": {
  19. "Server": "172.19.42.44:8090", // 测试环境内网
  20. //"Server": "47.116.142.20:8090", // 测试环境公网
  21. "Password": "telpo#1234",
  22. //"Server": "127.0.0.1:6379",
  23. "DefaultDatabase": 2,
  24. "Prefix": "_HM_",
  25. //"DefaultDatabase": 7,
  26. // "Prefix": "TELPO",
  27. "Poolsize": 50,
  28. "ConnectTimeout": 5000,
  29. "IdleTimeout": 20000
  30. },
  31. "ServiceConfig": {
  32. "KafkaServerAddress": "172.19.42.53:9092",
  33. "TelpoDataUrl": "https://id.gdssjl.com/data/",
  34. "EtcdServerAddress": "http://172.19.42.44:2379",
  35. "IotWebApiUrl": "http://id.gdssjl.com/webapi/api/",
  36. "IotAuth": "http://id.ssjlai.com/auth/identityController",
  37. "IotCore": "https://id.ssjlai.com/gateway/core/api/v1/open/OpenIot"
  38. },
  39. "BoodPressResolverConfig": {
  40. "EnableBPRefPush": true
  41. },
  42. "ConnectionStrings": {
  43. // 测试环境内网
  44. "GpsCard_Connection_String": "server=172.19.42.40;port=3305;database=gps_card;uid=root;pwd=telpo#1234;CharSet=utf8;MinimumPoolSize=10;MaximumPoolSize=1000;SslMode=none",
  45. "HealthMonitor_Connection_String": "server=172.19.42.40;port=3305;database=health_monitor;uid=root;pwd=telpo#1234;CharSet=utf8;MinimumPoolSize=10;MaximumPoolSize=1000;SslMode=none"
  46. // 测试环境公网
  47. //"GpsCard_Connection_String": "server=139.224.254.18;port=3305;database=gps_card;uid=root;pwd=telpo#1234;CharSet=utf8;MinimumPoolSize=10;MaximumPoolSize=1000;SslMode=none",
  48. // "HealthMonitor_Connection_String": "server=139.224.254.18;port=3305;database=health_monitor;uid=root;pwd=telpo#1234;CharSet=utf8;MinimumPoolSize=10;MaximumPoolSize=1000;SslMode=none"
  49. }
  50. }