-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (37 loc) · 1007 Bytes
/
docker-compose.yml
File metadata and controls
38 lines (37 loc) · 1007 Bytes
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
version: "3.5"
services:
zero1:
image: dgraph/dgraph:local
working_dir: /data/zero1
ports:
- 5080
- 6080
labels:
cluster: test
service: zero1
volumes:
- type: bind
source: $GOPATH/bin
target: /gobin
read_only: true
command:
/gobin/dgraph ${COVERAGE_OUTPUT} zero --telemetry "reports=false;" --logtostderr -v=2
--bindall --expose_trace --profile_mode block --block_rate 10 --my=zero1:5080
alpha1:
image: dgraph/dgraph:local
working_dir: /data/alpha1
volumes:
- type: bind
source: $GOPATH/bin
target: /gobin
read_only: true
ports:
- 8080
- 9080
labels:
cluster: test
service: alpha1
command:
/gobin/dgraph ${COVERAGE_OUTPUT} alpha --zero=zero1:5080 --expose_trace --profile_mode block
--block_rate 10 --logtostderr -v=3 --my=alpha1:7080 --security "whitelist=0.0.0.0/0;"
--graphql "debug=true;" --trace "ratio=1.0;"