application-dev.yml 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. #数据源配置
  2. spring:
  3. redis:
  4. ##redis 单机环境配置
  5. host: 127.0.0.1
  6. port: 6379
  7. password:
  8. database: 0
  9. ssl: false
  10. ##redis 集群环境配置
  11. #cluster:
  12. # nodes: 127.0.0.1:7001,127.0.0.1:7002,127.0.0.1:7003
  13. # commandTimeout: 5000
  14. datasource:
  15. # MySql
  16. url: jdbc:mysql://localhost:3306/bladex_boot?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
  17. username: root
  18. password: root
  19. # PostgreSQL
  20. #url: jdbc:postgresql://127.0.0.1:5432/bladex_boot
  21. #username: postgres
  22. #password: 123456
  23. # Oracle
  24. #url: jdbc:oracle:thin:@127.0.0.1:49161:orcl
  25. #username: BLADEX_BOOT
  26. #password: oracle
  27. #blade配置
  28. blade:
  29. #分布式锁
  30. lock:
  31. enabled: false
  32. address: redis://127.0.0.1:6379
  33. #本地文件上传
  34. file:
  35. remote-mode: true
  36. upload-domain: http://localhost:8999
  37. remote-path: /usr/share/nginx/html