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.
66 lines
2.0 KiB
66 lines
2.0 KiB
|
2 years ago
|
#服务器端口
|
||
|
|
server:
|
||
|
|
port: 8300
|
||
|
|
|
||
|
|
|
||
|
|
#数据源配置
|
||
|
|
#spring:
|
||
|
|
# datasource:
|
||
|
|
# url: ${blade.datasource.dev.url}
|
||
|
|
# username: ${blade.datasource.dev.username}
|
||
|
|
# password: ${blade.datasource.dev.password}
|
||
|
|
|
||
|
|
spring:
|
||
|
|
#排除DruidDataSourceAutoConfigure
|
||
|
|
autoconfigure:
|
||
|
|
exclude: com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
|
||
|
|
datasource:
|
||
|
|
dynamic:
|
||
|
|
#设置默认的数据源或者数据源组,默认值即为master
|
||
|
|
primary: master
|
||
|
|
datasource:
|
||
|
|
master:
|
||
|
|
url: jdbc:mysql://${hzinfo.db.busines.ip}:${hzinfo.db.busines.port}/equipment?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
|
||
|
|
username: ${hzinfo.db.busines.username}
|
||
|
|
password: ${hzinfo.db.busines.password}
|
||
|
|
slave:
|
||
|
|
url: jdbc:mysql://${hzinfo.db.busines.ip}:${hzinfo.db.busines.port}/hzims?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
|
||
|
|
username: ${hzinfo.db.busines.username}
|
||
|
|
password: ${hzinfo.db.busines.password}
|
||
|
|
|
||
|
|
|
||
|
|
#oss配置
|
||
|
|
oss:
|
||
|
|
endpoint: "${hzinfo.oss.endpoint}"
|
||
|
|
access-key: "${hzinfo.oss.access-key}"
|
||
|
|
secret-key: "${hzinfo.oss.secret-key}"
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
#mybatis-plus配置
|
||
|
|
mybatis-plus:
|
||
|
|
mapper-locations: classpath:com/hnac/hzims/**/mapper/*Mapper.xml
|
||
|
|
#实体扫描,多个package用逗号或者分号分隔
|
||
|
|
typeAliasesPackage: com.hnac.hzims.**.entity
|
||
|
|
|
||
|
|
#swagger扫描路径配置
|
||
|
|
swagger:
|
||
|
|
base-packages: com.hnac.hzims
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
xxl:
|
||
|
|
job:
|
||
|
|
accessToken: ''
|
||
|
|
admin:
|
||
|
|
addresses: http://${hzims.server.ip}:7009/xxl-job-admin
|
||
|
|
executor:
|
||
|
|
appname: hzims-equipment
|
||
|
|
ip: "${hzims.server.ip}"
|
||
|
|
logpath: /data/applogs/xxl-job/jobhandler
|
||
|
|
logretentiondays: -1
|
||
|
|
port: 28300
|
||
|
|
|
||
|
|
demo:
|
||
|
|
name: aaa
|