-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
54 lines (42 loc) · 880 Bytes
/
config.yaml
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
# Server groups
# Config Variables
one:
hostname: localhost
server_port : 3000
primary : 1
mongodb_url: "mongodb://localhost:27017"
raft_port: 3001
two:
hostname: localhost
server_port : 4000
primary : 0
mongodb_url: "mongodb://localhost:27017"
raft_port: 4001
three:
hostname: localhost
server_port : 5000
primary : 0
mongodb_url: "mongodb://localhost:27017"
raft_port: 5001
four:
hostname: 192.168.0.2
server_port : 3000
raft_port : 3001
#connection_port : [4001, 5001]
primary : 1
mongodb_url: "mongodb://localhost:27017"
five:
hostname: 192.168.0.5
server_port : 3000
primary : 0
mongodb_url: "mongodb://localhost:27017"
raft_port: 3001
six:
hostname: 192.168.0.6
server_port : 3000
primary : 0
mongodb_url: "mongodb://localhost:27017"
raft_port: 3001
LRUCapacity: 5
UPLOAD_SHARD_SIZE: 52428800
super_node_address: "192.168.0.9:9000"