application-dev.yml 816 B

1234567891011121314151617181920212223242526272829
  1. #服务器端口
  2. server:
  3. port: 8410
  4. #数据源配置
  5. spring:
  6. application:
  7. name: wutong-okr
  8. #排除DruidDataSourceAutoConfigure
  9. autoconfigure:
  10. exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
  11. datasource:
  12. dynamic:
  13. druid:
  14. proxy-filters:
  15. - sqlLogInterceptor
  16. #设置默认的数据源或者数据源组,默认值即为master
  17. primary: master
  18. datasource:
  19. master:
  20. url: ${blade.datasource.okr.master.url}
  21. username: ${blade.datasource.okr.master.username}
  22. password: ${blade.datasource.okr.master.password}
  23. slave:
  24. url: ${blade.datasource.okr.slave.url}
  25. username: ${blade.datasource.okr.slave.username}
  26. password: ${blade.datasource.okr.slave.password}