github.com/unigraph-dev/dgraph@v1.1.1-0.20200923154953-8b52b426f765/systest/loader-benchmark/docker-compose.yml (about) 1 # Docker compose file for use with test-21million.sh. 2 # 3 version: "3.5" 4 services: 5 zero1: 6 image: dgraph/dgraph:latest 7 container_name: bank-dg0.1 8 working_dir: /data/dg0.1 9 ports: 10 - 5180:5180 11 - 6180:6180 12 labels: 13 cluster: test 14 volumes: 15 - type: bind 16 source: $GOPATH/bin 17 target: /gobin 18 read_only: true 19 command: /gobin/dgraph zero -o 100 --my=zero1:5180 --logtostderr --bindall 20 21 dg1: 22 image: dgraph/dgraph:latest 23 container_name: bank-dg1 24 working_dir: /data/dg1 25 volumes: 26 - type: bind 27 source: $GOPATH/bin 28 target: /gobin 29 read_only: true 30 - type: volume 31 source: data 32 target: /data/dg1 33 ports: 34 - 8180:8180 35 - 9180:9180 36 labels: 37 cluster: test 38 command: > 39 /gobin/dgraph alpha --my=dg1:7180 --zero=zero1:5180 -o 100 --logtostderr 40 --whitelist 10.0.0.0/8,172.16.0.0/12,192.168.0.0/16 --lru_mb=1024 41 42 volumes: 43 data: