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.

44 line
1.6KB

  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. "TelpoDataUrl": "https://id.ssjlai.com/data/"
  33. },
  34. "ConnectionStrings": {
  35. // 测试环境内网
  36. "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",
  37. "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"
  38. // 测试环境公网
  39. //"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",
  40. // "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"
  41. }
  42. }