-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkater-dev.yml
More file actions
79 lines (72 loc) · 1.83 KB
/
kater-dev.yml
File metadata and controls
79 lines (72 loc) · 1.83 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
appname: kater
server:
port: 8764
spring:
http:
encoding:
enabled: true
charset: UTF-8
application:
name: kater
datasource:
driverClassName: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://39.100.131.79:3306/fa_kobe2?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
username: root
password: jxh1988
hikari:
read-only: false
connection-timeout: 60000
idle-timeout: 60000
validation-timeout: 3000
max-lifetime: 60000
login-timeout: 5
maximum-pool-size: 60
minimum-idle: 10
rabbitmq:
host: 39.100.131.79
port: 5672
virtual-host: /
redis:
#database: 0
#host: 39.100.131.79 # 哨兵模式下不启用该配置
#port: 6379 # 哨兵模式下不启用该配置
password: jxh1988
sentinel:
master: master_6379
nodes: 39.100.131.79:26379,39.100.131.79:26380,39.100.131.79:26381
# 39.131.100.79:6379,39.131.100.79:6380,39.131.100.79:6381,39.131.100.79:6382,
mongo:
host: 39.100.131.79
port: 27017
dbName: fit-eat
username: jxh
password: jxh1988
url: ${spring.mongo.username}:${spring.mongo.password}@${spring.mongo.host}:${spring.mongo.port}/${spring.mongo.dbName}
session:
store-type: redis
timeout: 3600 #seconds in used
redis:
flush-mode: on-save # Sessions flush mode.
namespace: kater # Namespace for keys used to store sessions.
redis:
region:
database: 5
lettuce:
pool:
max-active: 8
max-wait: 10000
max-idle: 4
min-idle: 0
timeout: 1000000
shutdown-timeout: 400
mybatis-plus:
mapper-locations:
classpath: mapper/*.xml
global-config:
db-config:
logic-delete-value: 1
logic-not-delete-value: 0
storage:
file:
path: /Users/micezhao/uploadFile/resource
max_size: 16M