application-spw.yml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # 数据源配置
  2. spring:
  3. datasource:
  4. master: # 数据源1
  5. jdbc-url: jdbc:mysql://127.0.0.1:3306/hlx?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8
  6. username: root
  7. password: Bingo@2021
  8. driver-class-name: com.mysql.jdbc.Driver
  9. slave: # 数据源2
  10. jdbc-url: jdbc:postgresql://46.255.250.177:7017/xres_xresdb
  11. username: xres_xresdb_user
  12. password: VJTbbcwt
  13. driver-class-name: org.postgresql.Driver
  14. # 项目相关配置
  15. seat:
  16. # 名称
  17. name: Seat
  18. # 版本
  19. version: 3.5.0
  20. # 版权年份
  21. copyrightYear: 2021
  22. # 实例演示开关
  23. demoEnabled: true
  24. # 文件路径 示例( Windows配置D:/seat/uploadPath,Linux配置 /home/seat/uploadPath)
  25. profile: /home/seat/uploadPath
  26. # 获取ip地址开关
  27. addressEnabled: false
  28. # 验证码类型 math 数组计算 char 字符验证
  29. captchaType: char
  30. # 推送预警规则topic名称
  31. topic1: warning_rule
  32. server:
  33. port: 8088
  34. adater:
  35. userSfzh: 460025198710140956
  36. userXm: 梁峰
  37. userBmdm: 0113020407
  38. infovision:
  39. ip: 46.255.250.177 #host
  40. port: 443 #port
  41. appkey: 24406045 #key
  42. secret: ciAT71Z3fBLECChDbJWT #secret