1
- # Auto-generated with: [./compose -a 6 -z 3 -j -w --port_offset=0 --expose_ports=false -O ../worker/docker-compose.yml --mem= --snapshot_after=100 --names=false]
1
+ # Auto-generated with: [./compose -a 6 -z 3 -j -w --port_offset=0 --expose_ports=false -O ../worker/docker-compose.yml --mem= --snapshot_after=snapshot-after-entries= 100; snapshot-after-duration=1m --names=false]
2
2
#
3
3
version : " 3.5"
4
4
services :
@@ -15,11 +15,9 @@ services:
15
15
source : $GOPATH/bin
16
16
target : /gobin
17
17
read_only : true
18
- command : /gobin/dgraph alpha --my=alpha1:7080
19
- --zero=zero1:5080,zero2:5080,zero3:5080 --logtostderr -v=2
20
- --security "whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;"
21
- --raft "snapshot-after=100;"
22
- --trace "jaeger=http://jaeger:14268;"
18
+ command : /gobin/dgraph alpha --trace "jaeger=http://jaeger:14268;" --my=alpha1:7080
19
+ --zero=zero1:5080,zero2:5080,zero3:5080 --logtostderr -v=2 --raft "idx=1; group=1;
20
+ snapshot-after-entries=100; snapshot-after-duration=1m" --security "whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;"
23
21
alpha2 :
24
22
image : dgraph/dgraph:latest
25
23
working_dir : /data/alpha2
@@ -33,11 +31,9 @@ services:
33
31
source : $GOPATH/bin
34
32
target : /gobin
35
33
read_only : true
36
- command : /gobin/dgraph alpha --my=alpha2:7080
37
- --zero=zero1:5080,zero2:5080,zero3:5080 --logtostderr -v=2
38
- --security "whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;"
39
- --raft "snapshot-after=100;"
40
- --trace "jaeger=http://jaeger:14268;"
34
+ command : /gobin/dgraph alpha --trace "jaeger=http://jaeger:14268;" --my=alpha2:7080
35
+ --zero=zero1:5080,zero2:5080,zero3:5080 --logtostderr -v=2 --raft "idx=2; group=1;
36
+ snapshot-after-entries=100; snapshot-after-duration=1m" --security "whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;"
41
37
alpha3 :
42
38
image : dgraph/dgraph:latest
43
39
working_dir : /data/alpha3
@@ -51,11 +47,9 @@ services:
51
47
source : $GOPATH/bin
52
48
target : /gobin
53
49
read_only : true
54
- command : /gobin/dgraph alpha --my=alpha3:7080
55
- --zero=zero1:5080,zero2:5080,zero3:5080 --logtostderr -v=2
56
- --security "whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;"
57
- --raft "snapshot-after=100;"
58
- --trace "jaeger=http://jaeger:14268;"
50
+ command : /gobin/dgraph alpha --trace "jaeger=http://jaeger:14268;" --my=alpha3:7080
51
+ --zero=zero1:5080,zero2:5080,zero3:5080 --logtostderr -v=2 --raft "idx=3; group=1;
52
+ snapshot-after-entries=100; snapshot-after-duration=1m" --security "whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;"
59
53
alpha4 :
60
54
image : dgraph/dgraph:latest
61
55
working_dir : /data/alpha4
@@ -69,11 +63,9 @@ services:
69
63
source : $GOPATH/bin
70
64
target : /gobin
71
65
read_only : true
72
- command : /gobin/dgraph alpha --my=alpha4:7080
73
- --zero=zero1:5080,zero2:5080,zero3:5080 --logtostderr -v=2
74
- --security "whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;"
75
- --raft "snapshot-after=100;"
76
- --trace "jaeger=http://jaeger:14268;"
66
+ command : /gobin/dgraph alpha --trace "jaeger=http://jaeger:14268;" --my=alpha4:7080
67
+ --zero=zero1:5080,zero2:5080,zero3:5080 --logtostderr -v=2 --raft "idx=4; group=2;
68
+ snapshot-after-entries=100; snapshot-after-duration=1m" --security "whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;"
77
69
alpha5 :
78
70
image : dgraph/dgraph:latest
79
71
working_dir : /data/alpha5
@@ -87,11 +79,9 @@ services:
87
79
source : $GOPATH/bin
88
80
target : /gobin
89
81
read_only : true
90
- command : /gobin/dgraph alpha --my=alpha5:7080
91
- --zero=zero1:5080,zero2:5080,zero3:5080 --logtostderr -v=2
92
- --security "whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;"
93
- --raft "snapshot-after=100;"
94
- --trace "jaeger=http://jaeger:14268;"
82
+ command : /gobin/dgraph alpha --trace "jaeger=http://jaeger:14268;" --my=alpha5:7080
83
+ --zero=zero1:5080,zero2:5080,zero3:5080 --logtostderr -v=2 --raft "idx=5; group=2;
84
+ snapshot-after-entries=100; snapshot-after-duration=1m" --security "whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;"
95
85
alpha6 :
96
86
image : dgraph/dgraph:latest
97
87
working_dir : /data/alpha6
@@ -105,11 +95,9 @@ services:
105
95
source : $GOPATH/bin
106
96
target : /gobin
107
97
read_only : true
108
- command : /gobin/dgraph alpha --my=alpha6:7080
109
- --zero=zero1:5080,zero2:5080,zero3:5080 --logtostderr -v=2
110
- --security "whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;"
111
- --raft "snapshot-after=100;"
112
- --trace "jaeger=http://jaeger:14268;"
98
+ command : /gobin/dgraph alpha --trace "jaeger=http://jaeger:14268;" --my=alpha6:7080
99
+ --zero=zero1:5080,zero2:5080,zero3:5080 --logtostderr -v=2 --raft "idx=6; group=2;
100
+ snapshot-after-entries=100; snapshot-after-duration=1m" --security "whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;"
113
101
jaeger :
114
102
image : jaegertracing/all-in-one:1.18
115
103
working_dir : /working/jaeger
@@ -133,9 +121,8 @@ services:
133
121
source : $GOPATH/bin
134
122
target : /gobin
135
123
read_only : true
136
- command : /gobin/dgraph zero --raft "idx=1;" --my=zero1:5080
137
- --replicas=3 --logtostderr -v=2 --bindall
138
- --trace "jaeger=http://jaeger:14268;"
124
+ command : /gobin/dgraph zero --trace "jaeger=http://jaeger:14268;" --raft='idx=1'
125
+ --my=zero1:5080 --replicas=3 --logtostderr -v=2 --bindall
139
126
zero2 :
140
127
image : dgraph/dgraph:latest
141
128
working_dir : /data/zero2
@@ -151,9 +138,8 @@ services:
151
138
source : $GOPATH/bin
152
139
target : /gobin
153
140
read_only : true
154
- command : /gobin/dgraph zero --raft "idx=2;" --my=zero2:5080
155
- --replicas=3 --logtostderr -v=2 --peer=zero1:5080
156
- --trace "jaeger=http://jaeger:14268;"
141
+ command : /gobin/dgraph zero --trace "jaeger=http://jaeger:14268;" --raft='idx=2'
142
+ --my=zero2:5080 --replicas=3 --logtostderr -v=2 --peer=zero1:5080
157
143
zero3 :
158
144
image : dgraph/dgraph:latest
159
145
working_dir : /data/zero3
@@ -169,7 +155,6 @@ services:
169
155
source : $GOPATH/bin
170
156
target : /gobin
171
157
read_only : true
172
- command : /gobin/dgraph zero --raft "idx=3;" --my=zero3:5080
173
- --replicas=3 --logtostderr -v=2 --peer=zero1:5080
174
- --trace "jaeger=http://jaeger:14268;"
158
+ command : /gobin/dgraph zero --trace "jaeger=http://jaeger:14268;" --raft='idx=3'
159
+ --my=zero3:5080 --replicas=3 --logtostderr -v=2 --peer=zero1:5080
175
160
volumes : {}
0 commit comments