application.yml
919 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
server:
port: 8092
spring:
application:
name: ash
main:
allow-bean-definition-overriding: true
profiles:
active: default
datasource:
url: jdbc:mysql://10.9.1.252:3306/ash?useSSL=false&autoReconnect=true&characterEncoding=utf8
driver-class-name: com.mysql.cj.jdbc.Driver
username: qixiao
password: qixiao123!@#
type: com.alibaba.druid.pool.DruidDataSource
druid:
initial-size: 5
min-idle: 10
max-active: 20
max-wait: 60000
min-evictable-idle-time-millis: 300000
time-between-eviction-runs-millis: 60000
validation-query: SELECT 1
test-on-borrow: true
test-on-return: true
test-while-idle: true
servlet:
multipart:
max-file-size: 100MB
max-request-size: 100MB
logging:
level:
root: INFO
file:
name: logs/ash.log
ash:
# errorFilePath: D:/data/errorData
errorFilePath: /web/errorData