Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
techhero-markscore-config
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
techhero-markscore-config
Commits
bdaac9c8
Commit
bdaac9c8
authored
Apr 17, 2024
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
网上评卷application.yml
parent
7f27ce19
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
105 additions
and
0 deletions
+105
-0
application.yml
+105
-0
No files found.
application.yml
0 → 100644
View file @
bdaac9c8
server
:
tomcat
:
max-threads
:
500
# Maximum amount of worker threads.
min-spare-threads
:
50
# Minimum amount of worker threads
spring
:
cloud
:
config
:
override-none
:
true
override-system-properties
:
false
datasource
:
url
:
jdbc:mysql://119.96.87.17:30101/online_make_score?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8&allowMultiQueries=true
#jdbc:oracle:thin:@47.105.130.127:9638:orcl
driver-class-name
:
com.mysql.jdbc.Driver
#oracle.jdbc.OracleDriver
username
:
onlinemarkscore
#ENC(25fc8c2d2cff6e142af36d4cd89f2bc0)
password
:
Abcd1234.
#ENC(502aaeb4e3e6be41b742a448fab59864b4271effb5652fddf144e02b67d8ea04)
hikari
:
minimum-idle
:
1
maximum-pool-size
:
5
connection-test-query
:
select 1
#select 1 from dual
redis
:
host
:
119.96.87.17
#47.104.251.199
port
:
6379
#6942
password
:
techhero
#ENC(08db934a254e34b5366ff337b81532ec)
database
:
8
timeout
:
10000
lettuce
:
pool
:
max-idle
:
4
min-idle
:
1
max-active
:
5
max-wait
:
10000
rabbitmq
:
host
:
47.104.251.199
port
:
6943
username
:
ENC(bb514d3f83de4cca1107d9509c420240)
password
:
ENC(881ec5bbafcb774c356b0261a587076f)
virtual-host
:
demo
servlet
:
multipart
:
max-file-size
:
1000MB
max-request-size
:
1000MB
redis
:
cache
:
expiration
:
3601
ribbon
:
eager-load
:
enabled
:
true
clients
:
techhero-auth-service,techhero-admin-service
Httpclient
:
enabled
:
true
OkHttp
:
enabled
:
false
ReadTimeout
:
60000
ConnectTimeout
:
30000
feign
:
hystrix
:
enabled
:
true
okhttp
:
enabled
:
false
httpclient
:
enabled
:
true
client
:
config
:
feignName
:
readTimeout
:
60000
connectTimeout
:
30000
compression
:
request
:
enabled
:
false
response
:
enabled
:
false
hystrix
:
threadpool
:
default
:
coreSize
:
500
maxQueueSize
:
1000
queueSizeRejectionThreshold
:
800
command
:
default
:
execution
:
isolation
:
thread
:
timeoutInMilliseconds
:
240000
# 设置熔断的时间,建议在网关和微服务都设置,否则会有一个默认值生效
#关闭验证
management
:
metrics
:
web
:
server
:
auto-time-requests
:
false
mybatis-plus
:
mapper-locations
:
classpath:/mapper/**/*Mapper.xml
#XML扫描
typeAliasesPackage
:
com.techhero.**.model.entity
#实体扫描 多个package用逗号或者分号分隔
global-config
:
refresh
:
true
db-config
:
refresh-mapper
:
true
#刷新mapper 调试神器
configuration
:
map-underscore-to-camel-case
:
true
#开启驼峰命名
cache-enabled
:
false
jdbc-type-for-null
:
'
null'
#配置JdbcTypeForNull oracle数据库必须配置
log-impl
:
org.apache.ibatis.logging.nologging.NoLoggingImpl
jasypt
:
# 配置文件加密
encryptor
:
bean
:
customStringEncryptor
login
:
#登录校验手机验证码开关
enabled
:
'
false'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment