application-dev.yml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. # 开发环境
  2. server:
  3. port: 10010
  4. servlet:
  5. context-path: /
  6. # 数据源
  7. spring:
  8. ## quartz定时任务,采用数据库方式
  9. quartz:
  10. #相关属性配置
  11. properties:
  12. org:
  13. quartz:
  14. jobStore:
  15. driverDelegateClass: org.quartz.impl.jdbcjobstore.PostgreSQLDelegate
  16. #数据库方式
  17. job-store-type: jdbc
  18. datasource:
  19. druid:
  20. url: jdbc:postgresql://121.43.55.7:5433/building?stringtype=unspecified&u003fuseUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&serverTimezone=PRC&useSSL=false&tinyInt1isBit=false
  21. username: postgres
  22. password: SKYversation@0816
  23. redis:
  24. host: 121.43.55.7
  25. port: 6380
  26. database: 12
  27. password: SKYversation
  28. rabbitmq:
  29. host: 8.130.177.22
  30. port: 5672
  31. username: admin
  32. password: aaaaaa
  33. mqtt:
  34. url: tcp://10.12.242.162:1883
  35. topic: notice/device/status/safety/camera,notice/device/status/energy/device
  36. username: device
  37. password: device123
  38. completionTimeout: 3000
  39. # 日志配置
  40. logging:
  41. level:
  42. com.sky: debug
  43. # Swagger配置
  44. swagger:
  45. enabled: true
  46. # 自定义配置
  47. sky:
  48. dataIp: 192.168.1.45:9001