-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathapplication-pro.properties
78 lines (60 loc) · 2.2 KB
/
application-pro.properties
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
server.port=18801
########################## MySQL ##############################
mysql.status=1
mysql.dataSource.size=2
mysql.dataSource1.name=config
mysql.dataSource1.driverClassName=com.mysql.cj.jdbc.Driver
mysql.dataSource1.url=jdbc:mysql://192.168.0.1:3306/xhigher_config?useSSL=false&useUnicode=true&characterEncoding=utf8&serverTimezone=UTC&zeroDateTimeBehavior=convertToNull
mysql.dataSource1.user=root
mysql.dataSource1.password=cheercent
mysql.dataSource1.cachePrepStmts=true
mysql.dataSource1.prepStmtCacheSize=250
mysql.dataSource1.prepStmtCacheSqlLimit=2048
mysql.dataSource1.maximumPoolSize=2
mysql.dataSource2.name=business
mysql.dataSource2.driverClassName=com.mysql.cj.jdbc.Driver
mysql.dataSource2.url=jdbc:mysql://192.168.0.1:3306/xhigher_business?useSSL=false&useUnicode=true&characterEncoding=utf8&serverTimezone=UTC&zeroDateTimeBehavior=convertToNull
mysql.dataSource2.user=root
mysql.dataSource2.password=cheercent
mysql.dataSource2.cachePrepStmts=true
mysql.dataSource2.prepStmtCacheSize=250
mysql.dataSource2.prepStmtCacheSqlLimit=2048
mysql.dataSource2.maximumPoolSize=2
########################## Redis ##############################
redis.status=1
redis.pool.maxActive=1024
redis.pool.maxIdle=200
redis.pool.maxWait=1000
redis.pool.testOnBorrow=true
redis.pool.testOnReturn=true
redis.node.size=2
redis.node1.name=config
redis.node1.host=192.168.0.2
redis.node1.port=6379
redis.node1.pass=cheercent
redis.node2.name=business
redis.node2.host=192.168.0.3
redis.node2.port=6379
redis.node2.pass=cheercent
########################## MongoDB ##############################
mongodb.status=0
mongodb.connectionsPerHost=8
mongodb.threadsAllowedToBlockForConnectionMultiplier=4
mongodb.connectTimeout=10000
mongodb.maxWaitTime=120000
mongodb.socketTimeout=1500
mongodb.username=root
mongodb.password=cheercent
mongodb.database=user
mongodb.server.size=2
mongodb.server1.host=192.168.0.2
mongodb.server1.port=3717
mongodb.server2.host=192.168.0.3
mongodb.server2.port=3717
########################## ElasticSearch ##############################
elasticsearch.status=0
elasticsearch.node.size=1
elasticsearch.user=elastic
elasticsearch.password=cheercent
elasticsearch.node1.ip=192.168.0.4
elasticsearch.node1.port=9200