1234567891011121314151617181920212223242526272829 |
- #服务器端口
- server:
- port: 8410
- #数据源配置
- spring:
- application:
- name: wutong-okr
- #排除DruidDataSourceAutoConfigure
- autoconfigure:
- exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
- datasource:
- dynamic:
- druid:
- proxy-filters:
- - sqlLogInterceptor
- #设置默认的数据源或者数据源组,默认值即为master
- primary: master
- datasource:
- master:
- url: ${blade.datasource.okr.master.url}
- username: ${blade.datasource.okr.master.username}
- password: ${blade.datasource.okr.master.password}
- slave:
- url: ${blade.datasource.okr.slave.url}
- username: ${blade.datasource.okr.slave.username}
- password: ${blade.datasource.okr.slave.password}
|