blade-dev.yaml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. #spring配置
  2. spring:
  3. data:
  4. redis:
  5. ##redis 单机环境配置
  6. host: 118.195.196.59
  7. port: 6379
  8. password: xwkj2022@
  9. database: 0
  10. ssl:
  11. enabled: false
  12. ##redis 集群环境配置
  13. #cluster:
  14. # nodes: 127.0.0.1:7001,127.0.0.1:7002,127.0.0.1:7003
  15. # commandTimeout: 5000
  16. datasource:
  17. #driver-class-name: com.mysql.cj.jdbc.Driver
  18. driver-class-name: org.postgresql.Driver
  19. #driver-class-name: oracle.jdbc.OracleDriver
  20. #driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
  21. #driver-class-name: dm.jdbc.driver.DmDriver
  22. #driver-class-name: com.yashandb.jdbc.Driver
  23. druid:
  24. # MySql、PostgreSQL、SqlServer、DaMeng校验
  25. validation-query: select 1
  26. # Oracle、YashanDB校验
  27. #oracle: true
  28. #validation-query: select 1 from dual
  29. #项目模块集中配置
  30. blade:
  31. #分布式锁配置
  32. lock:
  33. enabled: false
  34. address: redis://127.0.0.1:6379
  35. #多团队协作服务配置
  36. loadbalancer:
  37. #开启配置
  38. enabled: true
  39. #负载均衡优先调用的ip段
  40. prior-ip-pattern:
  41. - 192.168.0.*
  42. - 127.0.0.1
  43. #通用开发生产环境数据库地址(特殊情况可在对应的子工程里配置覆盖)
  44. datasource:
  45. dynamic:
  46. primary: st
  47. datasource:
  48. st: # 省厅数据库配置
  49. driver-class-name: org.postgresql.Driver
  50. # url: jdbc:postgresql://192.168.50.93:5432/postgres?currentSchema=jdrh
  51. url: jdbc:postgresql://localhost:5433/postgres?currentSchema=jdrh
  52. # url: jdbc:postgresql://118.195.196.59:5432/xwkjdb?currentSchema=jdrh
  53. username: postgres
  54. password: xwkj2022@
  55. jl: # 吉林数据库配置
  56. driver-class-name: org.postgresql.Driver
  57. url: jdbc:postgresql://111.26.204.4:5432/postgres?currentSchema=jdrh
  58. username: postgres
  59. password: xwkj2022@