You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
1.2 KiB
YAML
28 lines
1.2 KiB
YAML
server:
|
|
port: 8087
|
|
|
|
spring:
|
|
application:
|
|
name: flossom-transfer
|
|
datasource:
|
|
dynamic:
|
|
primary: master #设置默认的数据源或者数据源组,默认值即为master
|
|
strict: false #严格匹配数据源,默认false. true未匹配到指定数据源时抛异常,false使用默认数据源
|
|
datasource:
|
|
master:
|
|
driver-class-name: com.mysql.cj.jdbc.Driver # 3.2.0开始支持SPI可省略此配置
|
|
url: jdbc:mysql://110.41.134.131:3306/uat-flossom2?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
username: root
|
|
password: YQGZxh#m0ss
|
|
type: com.alibaba.druid.pool.DruidDataSource
|
|
slave:
|
|
driver-class-name: com.mysql.cj.jdbc.Driver # 3.2.0开始支持SPI可省略此配置
|
|
url: jdbc:mysql://110.41.134.131:3306/pro-flossom?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
username: root
|
|
password: YQGZxh#m0ss
|
|
type: com.alibaba.druid.pool.DruidDataSource
|
|
|
|
mybatis-plus:
|
|
type-aliases-package: com.flossom.transfer.*.domain
|
|
mapper-locations: classpath:mapper/*.xml
|