Files
smart_venue/device-socket/out/production/resources/config/application.yml
2020-01-29 21:50:10 +08:00

83 lines
1.7 KiB
YAML

server:
# port: 8093
port: 8000
debug: true
app:
accessToken:
expires: 7200
spring:
http:
multipart:
max-file-size: 40MB
max-request-size: 40MB
enabled: true
profiles:
include:
-development
-test
-production
active: development
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
# 数据库连接池配置
druid:
filters: stat
initialSize: 1
minIdle: 1
maxActive: 40
maxWait: 600000
timeBetweenEvictionRunsMillis: 60000
minEvictableIdleTimeMillis: 300000
validationQuery: SELECT 'x'
testWhileIdle: true
testOnBorrow: false
testOnReturn: false
poolPreparedStatements: true
maxPoolPreparedStatementPerConnectionSize: 20
WebStatFilter:
enabled: false
urlPattern:
exclusions:
sessionStatMaxCount:
sessionStatEnable:
principalSessionName:
principalCookieName:
profileEnable:
StatViewServlet:
enabled: true
urlPattern: /druid/*
resetEnable: true
loginUsername: druid
loginPassword: druid
allow:
deny:
aop:
auto: true
mvc:
log-resolved-exception: false
jackson:
default-property-inclusion: non_null
# MyBatis Configuration
mybatis:
type-aliases-package: com.ydd.oms.entity
config-location: classpath:mybatis/mybatis-config.xml
mapper-locations: classpath:mybatis/mapper/*/*.xml
oss:
accessKeyId: LTAIALhDnclBYATv
accessKeySecret: 4i9zJ5aDljBkFVRbp8pazK1l21XS79
protocol: http
name: yingdd
endPoint: http://oss-cn-hangzhou.aliyuncs.com
url: https://yingdd.oss-cn-hangzhou.aliyuncs.com/
face:
url: 192.168.1.111
account: test@test.com
pwd: 123456