config.yaml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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:8195"
  38. security_rewind_url: "http://local.centos.jd.com:9099"
  39. ip_cast_edge_url: "http://1.117.161.196:10063"
  40. #告警通知相关
  41. monit-notice:
  42. email:
  43. host: "smtp.163.com"
  44. port: "465"
  45. user-name: "hn_longchi@163.com"
  46. pass-word: "XDTEFFVZVLANOBSU"
  47. sms:
  48. tencent:
  49. app_id: "1400729214"
  50. secret_id: "AKID0tkPq1wc9TXMvEHZ5NRFo7AxVotkNltl"
  51. secret_key: "g7MNBk36tuhIgplSuAE6lCRVLvFTYR5U"
  52. sms_key: "湖南省龙驰照明"
  53. warn_sms_template_id: "1533523"
  54. # switch 0-关闭 其他(1)-开启
  55. es:
  56. es_url: "localhost:9200"