app.conf 692 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. appname = dataapi
  2. httpport = 8195
  3. runmode = dev
  4. ;runmode = prod
  5. autorender = false
  6. copyrequestbody = true
  7. EnableDocs = true
  8. Graceful=false
  9. EnableGzip=false
  10. includedMethods = get;post
  11. gzipMinLength = 256
  12. #开启https
  13. #enablehttps = true
  14. #HTTPSPort = 10443
  15. #HTTPSCertFile =server.crt
  16. #HTTPSKeyFile = server.key
  17. baseurl = http://192.168.110.28:8980
  18. # 数据库配置
  19. db.host = 192.168.110.28
  20. db.user = root
  21. db.password = root
  22. db.port = 3306
  23. db.name = iot
  24. db.prefix = t_
  25. db.timezone = Asia/Shanghai
  26. # Redis配置
  27. redis.addr = 192.168.110.28:6379
  28. redis.pass =
  29. #MQTT
  30. mqtt.id = GID88888888@@@WEBSVRXAAWcc1222
  31. mqtt.server = tcp://192.168.110.28:1883
  32. mqtt.user =
  33. mqtt.password =