You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.5 KiB
45 lines
1.5 KiB
2 years ago
|
|
||
|
#服务器端口
|
||
|
server:
|
||
|
port: 8599
|
||
|
|
||
|
#数据源配置
|
||
|
#spring:
|
||
|
# datasource:
|
||
|
# url: ${blade.datasource.dev.url}
|
||
|
# username: ${blade.datasource.dev.username}
|
||
|
# password: ${blade.datasource.dev.password}
|
||
|
|
||
|
spring:
|
||
|
#排除DruidDataSourceAutoConfigure
|
||
|
autoconfigure:
|
||
|
exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
|
||
|
datasource:
|
||
|
dynamic:
|
||
|
#设置默认的数据源或者数据源组,默认值即为master
|
||
|
primary: master
|
||
|
datasource:
|
||
|
master:
|
||
|
url: jdbc:mysql://175.6.40.67:5816/dev_hzims_assets?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&allowMultiQueries=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
|
||
|
username: root
|
||
|
password: 123
|
||
|
slave:
|
||
|
url: jdbc:mysql://175.6.40.67:5816/dev_hzims_assets?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&tinyInt1isBit=false&allowMultiQueries=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
|
||
|
username: root
|
||
|
password: 123
|
||
|
|
||
|
#xxl:
|
||
|
# job:
|
||
|
# accessToken: ''
|
||
|
# admin:
|
||
|
# addresses: http://192.168.1.25:7009/xxl-job-admin
|
||
|
# executor:
|
||
|
# appname: hzims-equipment
|
||
|
# ip: 192.168.1.28
|
||
|
# logpath: /data/applogs/xxl-job/jobhandler
|
||
|
# logretentiondays: -1
|
||
|
# port: 28210
|
||
|
|
||
|
demo:
|
||
|
name: aaa
|