This commit is contained in:
parent
3f3ed27efd
commit
ab711bcc73
|
|
@ -1,61 +0,0 @@
|
||||||
# spring配置
|
|
||||||
spring:
|
|
||||||
data:
|
|
||||||
redis:
|
|
||||||
host: ruoyi-redis
|
|
||||||
port: 6379
|
|
||||||
password:
|
|
||||||
datasource:
|
|
||||||
druid:
|
|
||||||
stat-view-servlet:
|
|
||||||
enabled: true
|
|
||||||
loginUsername: ruoyi
|
|
||||||
loginPassword: 123456
|
|
||||||
dynamic:
|
|
||||||
druid:
|
|
||||||
initial-size: 5
|
|
||||||
min-idle: 5
|
|
||||||
maxActive: 20
|
|
||||||
maxWait: 60000
|
|
||||||
connectTimeout: 30000
|
|
||||||
socketTimeout: 60000
|
|
||||||
timeBetweenEvictionRunsMillis: 60000
|
|
||||||
minEvictableIdleTimeMillis: 300000
|
|
||||||
validationQuery: SELECT 1 FROM DUAL
|
|
||||||
testWhileIdle: true
|
|
||||||
testOnBorrow: false
|
|
||||||
testOnReturn: false
|
|
||||||
poolPreparedStatements: true
|
|
||||||
maxPoolPreparedStatementPerConnectionSize: 20
|
|
||||||
filters: stat,slf4j
|
|
||||||
connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
|
|
||||||
datasource:
|
|
||||||
# 主库数据源
|
|
||||||
master:
|
|
||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
||||||
url: jdbc:mysql://ruoyi-mysql:3306/ry-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
|
||||||
username: root
|
|
||||||
password: password
|
|
||||||
|
|
||||||
# mybatis配置
|
|
||||||
mybatis:
|
|
||||||
# 搜索指定包别名
|
|
||||||
typeAliasesPackage: com.ruoyi.device
|
|
||||||
# 配置mapper的扫描,找到所有的mapper.xml映射文件
|
|
||||||
mapperLocations: classpath:mapper/device/**/*.xml
|
|
||||||
|
|
||||||
# springdoc配置
|
|
||||||
springdoc:
|
|
||||||
gatewayUrl: http://ruoyi-gateway:8080/${spring.application.name}
|
|
||||||
api-docs:
|
|
||||||
# 是否开启接口文档
|
|
||||||
enabled: true
|
|
||||||
info:
|
|
||||||
# 标题
|
|
||||||
title: '拓恒设备模块接口文档'
|
|
||||||
# 描述
|
|
||||||
description: '拓恒设备模块接口描述'
|
|
||||||
# 作者信息
|
|
||||||
contact:
|
|
||||||
name: TuoHeng
|
|
||||||
url: https://ruoyi.vip
|
|
||||||
Loading…
Reference in New Issue