config.yaml 1.1 KB

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