-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml.template
78 lines (71 loc) · 4.02 KB
/
config.yaml.template
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
zeroc: |
Ice.ThreadPool.Client.SizeMax = 10
Ice.ThreadPool.Server.SizeMax = 10
Ice.MessageSizeMax = 1000000
seed:
pubIP: &seedPubIP 172.17.2.130 ##seed服务器ip
gossipPort: &seedGossipPort 25005 ##seed服务器gossip网络拓扑端口
rpcPort: &seedRpcPort 25004 ##seed服务器rpc端口
httpPort: &seedHttpPort 25003 ##seed服务器http端口
shardSize: &shardSize 1 ##静态分片数
shardNodeSize: &shardNodeSize 4 ##片内节点数
static: &static 1 ##静态分片策略
whitelist: &whitelist ##ip白名单
- 172.17.2.46
- 172.17.2.62
- 172.17.2.63
- 172.17.2.104
- 172.17.2.118
- 172.17.2.119
- 172.17.2.117
- 172.17.2.120
- 172.17.2.123
- 172.17.2.126
- 172.17.2.127
- 172.17.2.128
- 172.17.2.130
fullnode:
pubIP: 172.17.2.130 ##fullnode服务器ip
gossipPort: 25015 ##fullnode服务器gossip网络拓扑端口
rpcPort: 25014 ##fullnode服务器rpc端口
httpPort: 25013 ##fullnode服务器http端口
prefix: 0 ##fullnode节点前缀
shardSize: *shardSize
shardNodeSize: *shardNodeSize
static: *static
whitelist: *whitelist
localfullnode2:
pubIP: 172.17.2.130 ##localfullnode服务器ip
gossipPort: 35791 ##localfullnode服务器gossip网络拓扑端口
rpcPort: 35792 ##localfullnode服务器rpc端口
httpPort: 35793 ##localfullnode服务器http端口
prefix: &lfnPrefix 0 ##localfullnode节点前缀
whitelist: *whitelist
seedPubIP: *seedPubIP
seedGossipPort: *seedGossipPort
seedRpcPort: *seedRpcPort
seedHttpPort: *seedHttpPort
dbConnectionDescriptors:
-
url: "spring.datasource.url0_0=jdbc:mysql://localhost:3306/main0_0?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8" ##mysql数据库url
un: "spring.datasource.username0_0=root" ##mysql数据库用户名
pw: "spring.datasource.password0_0=eiR2qeNso0vpEm5pwznjZwQjO4AXGpru3vqFTaEte3GpEpeZu2RtA0kwyWPg6s7cipxxuv7beC4jN4hY20DQ7Au61ZEdXSnhy2TCIJNHrMsY9PFusPQOrtkLwm6MUb7XSNLM6uTDR51mVtEqsCplh7UxNk3OF9LNhn8ruH4ECXY=" ##mysql数据库密码
-
url: "spring.datasource.url0_1=jdbc:mysql://localhost:3306/main0_1?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8"
un: "spring.datasource.username0_1=root"
pw: "spring.datasource.password0_1=eiR2qeNso0vpEm5pwznjZwQjO4AXGpru3vqFTaEte3GpEpeZu2RtA0kwyWPg6s7cipxxuv7beC4jN4hY20DQ7Au61ZEdXSnhy2TCIJNHrMsY9PFusPQOrtkLwm6MUb7XSNLM6uTDR51mVtEqsCplh7UxNk3OF9LNhn8ruH4ECXY="
-
url: "spring.datasource.url0_2=jdbc:mysql://localhost:3306/main0_2?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8"
un: "spring.datasource.username0_2=root"
pw: "spring.datasource.password0_2=eiR2qeNso0vpEm5pwznjZwQjO4AXGpru3vqFTaEte3GpEpeZu2RtA0kwyWPg6s7cipxxuv7beC4jN4hY20DQ7Au61ZEdXSnhy2TCIJNHrMsY9PFusPQOrtkLwm6MUb7XSNLM6uTDR51mVtEqsCplh7UxNk3OF9LNhn8ruH4ECXY="
-
url: "spring.datasource.url0_3=jdbc:mysql://localhost:3306/main0_3?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8"
un: "spring.datasource.username0_3=root"
pw: "spring.datasource.password0_3=eiR2qeNso0vpEm5pwznjZwQjO4AXGpru3vqFTaEte3GpEpeZu2RtA0kwyWPg6s7cipxxuv7beC4jN4hY20DQ7Au61ZEdXSnhy2TCIJNHrMsY9PFusPQOrtkLwm6MUb7XSNLM6uTDR51mVtEqsCplh7UxNk3OF9LNhn8ruH4ECXY="
p2pcluster:
icport: &icport 33010 ##p2p组网端口
env:
p2pcluster.icport: *icport
database.reset: false
test.prefix: *lfnPrefix
io.netty.leakDetectiontionLevel: advanced