application.yml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. # Tomcat
  2. server:
  3. # port: 21000
  4. port: 21001
  5. servlet:
  6. context-path: /data-gateway
  7. spring:
  8. application:
  9. # 应用名称
  10. name: agbox-energy
  11. cache:
  12. ehcache:
  13. config: classpath:ehcache.xml
  14. enabled: false
  15. redis:
  16. enabled: true
  17. jackson:
  18. date-format: yyyy-MM-dd HH:mm:ss
  19. default-property-inclusion: always
  20. deserialization:
  21. fail-on-unknown-properties: false
  22. parser:
  23. allow-single-quotes: true
  24. allow-unquoted-control-chars: true
  25. serialization:
  26. fail-on-empty-beans: false
  27. time-zone: GMT+8
  28. tenant:
  29. enable: false
  30. servlet:
  31. multipart:
  32. max-file-size: 10MB
  33. max-request-size: 15MB
  34. temp:
  35. basedir: C:/Users/pc/Desktop/
  36. mqtt:
  37. completionTimeout: 5000
  38. enabled: true
  39. keep-alive-interval: 60
  40. # password: public
  41. # sub-topics: /502_KAT/+/control
  42. # url: tcp://192.168.123.165:1883
  43. # username: admin
  44. password: usky
  45. sub-topics: /502_KAT/+/control
  46. url: tcp://47.98.201.73:1883
  47. username: usky
  48. # 和嵌入式udp通信的发送端口和监听端口地址
  49. udp:
  50. deviceIp: 192.168.123.44
  51. sendingPort: 60000