config.yaml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. # HTTP Server.
  2. server:
  3. address: ":8199"
  4. code_enabled: true
  5. token_sign: "6MTY2MDcxMjgzNiwi"
  6. # Logger configurations.
  7. logger:
  8. # 1开启es 0关闭
  9. switch: 0
  10. path: "./log"
  11. level: "info"
  12. name: "info"
  13. # Database configurations.
  14. database:
  15. # 数据库配置
  16. #db.host : 106.52.134.22
  17. #db.host : 120.77.219.16
  18. host: "local.centos.jd.com"
  19. user: "root"
  20. password: "root"
  21. #password : "lczm@2019oS"
  22. port: "3306"
  23. name: "iot"
  24. prefix: "t_"
  25. timezone: "Asia/Shanghai"
  26. redis:
  27. host: "local.centos.jd.com:6379"
  28. #password: "123456"
  29. #password: "lczm*2019"
  30. minio:
  31. endpoint: "110.40.223.170:9000"
  32. link: "http://110.40.223.170:9000"
  33. access_key: "lczm*minio"
  34. secret_key: "lczm*minio"
  35. #接口
  36. foreign:
  37. iot_edge_url: "http://192.168.110.248:8980"
  38. security_rewind_url: "http://local.centos.jd.com:9099"
  39. #告警通知相关
  40. monit-notice:
  41. email:
  42. host: "smtp.163.com"
  43. port: "465"
  44. user-name: "hn_longchi@163.com"
  45. pass-word: "XDTEFFVZVLANOBSU"
  46. sms:
  47. tencent:
  48. app_id: "1400729214"
  49. secret_id: "AKID0tkPq1wc9TXMvEHZ5NRFo7AxVotkNltl"
  50. secret_key: "g7MNBk36tuhIgplSuAE6lCRVLvFTYR5U"
  51. sms_key: "湖南省龙驰照明"
  52. warn_sms_template_id: "1533523"
  53. # switch 0-关闭 其他(1)-开启
  54. es:
  55. es_url: "localhost:9200"