123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- # HTTP Server.
- server:
- address: ":8199"
- code_enabled: true
- token_sign: "6MTY2MDcxMjgzNiwi"
- # Logger configurations.
- logger:
- # 1开启 0关闭
- switch: 1
- path: "./log"
- level: "info"
- name: "info"
- # Database configurations.
- database:
- # 数据库配置
- #db.host : 106.52.134.22
- #db.host : 120.77.219.16
- host: "127.0.0.1"
- user: "root"
- password: "root"
- #password : "lczm@2019oS"
- port: "3306"
- name: "iot"
- prefix: "t_"
- timezone: "Asia/Shanghai"
- redis:
- host: "127.0.0.1:6379"
- #password: "lczm*2019"
- minio:
- endpoint: "110.40.223.170:9000"
- link: "http://110.40.223.170:9000"
- access_key: "lczm*minio"
- secret_key: "lczm*minio"
- #接口
- foreign:
- iot_edge_url: "http://106.52.134.22:8880"
- security_rewind_url: "http://106.52.134.22:9099"
- #告警通知相关
- monit-notice:
- email:
- host: "smtp.163.com"
- port: "465"
- user-name: "hn_longchi@163.com"
- pass-word: "XDTEFFVZVLANOBSU"
- sms:
- tencent:
- app_id: "1400729214"
- secret_id: "AKID0tkPq1wc9TXMvEHZ5NRFo7AxVotkNltl"
- secret_key: "g7MNBk36tuhIgplSuAE6lCRVLvFTYR5U"
- sms_key: "湖南省龙驰照明"
- warn_sms_template_id: "1533523"
- # switch 0-关闭 其他(1)-开启
- es:
- es_url: "localhost:9200"
|