增加开发配置

parent ebcfb754
spring:
datasource:
# 数据源基本配置
username: root
password: 123
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://127.0.0.1:3306/mybatis
type: com.alibaba.druid.pool.DruidDataSource
# 数据源其他配置
initialSize: 5
minIdle: 5
maxActive: 20
maxWait: 60000
timeBetweenEvictionRunsMillis: 60000
minEvictableIdleTimeMillis: 300000
validationQuery: SELECT 1 FROM DUAL
testWhileIdle: true
testOnBorrow: false
testOnReturn: false
poolPreparedStatements: true
# 配置监控统计拦截的filters,去掉后监控界面sql无法统计,'wall'用于防火墙
filters: stat,wall,log4j
maxPoolPreparedStatementPerConnectionSize: 20
useGlobalDataSourceStat: true
connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=500
mybatis:
# 指定全局配置文件位置
config-location: classpath:mybatis/mybatis-config.xml
# 指定sql映射文件位置
mapper-locations: classpath:mybatis/mapper/*.xml
#schema:
# - classpath:sql/department.sql
# - classpath:sql/employee.sql
# 调用运行监控微服务url
service-rest:
startRest: "http://127.0.0.1:8084/service-rest/start"
stopRest: "http://127.0.0.1:8084/service-rest/stop"
reportRest: "http://127.0.0.1:8084/service-rest/report"
LogsRest: "http://127.0.0.1:8084/service-rest/logs"
# 调用运行监控微服务shell脚本位置(注意:不建议修改)
shellPaht: "/usr/local/shell/"
# 调用运行监控微服务shell脚本
startTomcatName: "startTomcat.sh"
stopTomcatName: "shutTomcat.sh"
reportTomcatName: "reportTomcat.sh"
LogsTomcatName: "tomcatLogs.sh"
# 远程控制台地址
Capability: "http://10.94.61.158:3001/"
# 数据库监控地址
SqlCapability: "http://10.94.61.158:8085/treesoft"
# 访问部署文档路径(暂时不用)
ReadDocumentPath: "http://localhost:9022/document/"
ThreadPool:
#核心线程数
corePoolSize: 20
#最大线程数
maxPoolSize: 200
#任务队列容量(阻塞队列)
queueCapacity: 10
...@@ -11,7 +11,7 @@ spring.mvc.view.suffix=.jsp ...@@ -11,7 +11,7 @@ spring.mvc.view.suffix=.jsp
logging.level.com.cc=debug logging.level.com.cc=debug
#spring.profiles.active=dev spring.profiles.active=pro
#logging.path= #logging.path=
# \u4E0D\u6307\u5B9A\u8DEF\u5F84\u5728\u5F53\u524D\u9879\u76EE\u4E0B\u751F\u6210springboot.log\u65E5\u5FD7 # \u4E0D\u6307\u5B9A\u8DEF\u5F84\u5728\u5F53\u524D\u9879\u76EE\u4E0B\u751F\u6210springboot.log\u65E5\u5FD7
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment