blade-test.yaml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #spring配置
  2. spring:
  3. data:
  4. redis:
  5. ##redis 单机环境配置
  6. ##将docker脚本部署的redis服务映射为宿主机ip
  7. host: 192.168.0.188
  8. port: 3379
  9. password:
  10. database: 0
  11. ssl:
  12. enabled: false
  13. ##redis 集群环境配置
  14. #cluster:
  15. # nodes: 127.0.0.1:7001,127.0.0.1:7002,127.0.0.1:7003
  16. # commandTimeout: 5000
  17. datasource:
  18. driver-class-name: com.mysql.cj.jdbc.Driver
  19. #driver-class-name: org.postgresql.Driver
  20. #driver-class-name: oracle.jdbc.OracleDriver
  21. #driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
  22. #driver-class-name: dm.jdbc.driver.DmDriver
  23. #driver-class-name: com.yashandb.jdbc.Driver
  24. druid:
  25. # MySql、PostgreSQL、SqlServer、DaMeng校验
  26. validation-query: select 1
  27. # Oracle、YashanDB校验
  28. #oracle: true
  29. #validation-query: select 1 from dual
  30. #项目模块集中配置
  31. blade:
  32. #分布式锁配置
  33. lock:
  34. ##是否启用分布式锁
  35. enabled: false
  36. ##将docker脚本部署的redis服务映射为宿主机ip
  37. address: redis://192.168.0.188:3379
  38. #通用开发生产环境数据库地址(特殊情况可在对应的子工程里配置覆盖)
  39. datasource:
  40. test:
  41. url: jdbc:mysql://192.168.0.188:3306/bladex?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&allowMultiQueries=true&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true
  42. username: root
  43. password: root