github.com/unigraph-dev/dgraph@v1.1.1-0.20200923154953-8b52b426f765/ee/backup/tests/minio/docker-compose.yml (about) 1 version: "3.5" 2 services: 3 zero1: 4 image: dgraph/dgraph:latest 5 container_name: zero1 6 working_dir: /data/zero1 7 labels: 8 cluster: test 9 ports: 10 - 5180:5180 11 - 6180:6180 12 command: /gobin/dgraph zero --cwd=/data/zero1 --my=zero1:5180 -o 100 --bindall --logtostderr -v=0 13 volumes: 14 - type: bind 15 source: $GOPATH/bin 16 target: /gobin 17 read_only: true 18 19 alpha1: 20 image: dgraph/dgraph:latest 21 container_name: alpha1 22 working_dir: /data/alpha1 23 env_file: 24 - $GOPATH/src/github.com/dgraph-io/dgraph/ee/backup/backup.env 25 labels: 26 cluster: test 27 volumes: 28 - type: bind 29 source: $GOPATH/bin 30 target: /gobin 31 read_only: true 32 ports: 33 - 8180:8180 34 - 9180:9180 35 command: /gobin/dgraph alpha --cwd=/data/alpha1 --my=alpha1:7180 --lru_mb=1024 --zero=zero1:5180 -o 100 -v=0 --whitelist 10.0.0.0/8,172.16.0.0/12,192.168.0.0/16 36 37 alpha2: 38 image: dgraph/dgraph:latest 39 container_name: alpha2 40 working_dir: /data/alpha2 41 env_file: 42 - $GOPATH/src/github.com/dgraph-io/dgraph/ee/backup/backup.env 43 labels: 44 cluster: test 45 depends_on: 46 - alpha1 47 volumes: 48 - type: bind 49 source: $GOPATH/bin 50 target: /gobin 51 read_only: true 52 ports: 53 - 8182:8182 54 - 9182:9182 55 command: /gobin/dgraph alpha --cwd=/data/alpha2 --my=alpha2:7182 --lru_mb=1024 --zero=zero1:5180 -o 102 -v=0 --whitelist 10.0.0.0/8,172.16.0.0/12,192.168.0.0/16 56 57 alpha3: 58 image: dgraph/dgraph:latest 59 container_name: alpha3 60 working_dir: /data/alpha3 61 env_file: 62 - $GOPATH/src/github.com/dgraph-io/dgraph/ee/backup/backup.env 63 labels: 64 cluster: test 65 depends_on: 66 - alpha2 67 volumes: 68 - type: bind 69 source: $GOPATH/bin 70 target: /gobin 71 read_only: true 72 ports: 73 - 8183:8183 74 - 9183:9183 75 command: /gobin/dgraph alpha --cwd=/data/alpha3 --my=alpha3:7183 --lru_mb=1024 --zero=zero1:5180 -o 103 -v=0 --whitelist 10.0.0.0/8,172.16.0.0/12,192.168.0.0/16 76 77 minio1: 78 image: minio/minio:latest 79 container_name: minio1 80 env_file: 81 - $GOPATH/src/github.com/dgraph-io/dgraph/ee/backup/backup.env 82 working_dir: $GOPATH/src/github.com/dgraph-io/dgraph/ee/backup/data/minio 83 ports: 84 - 9001:9001 85 labels: 86 cluster: test 87 command: minio server /data/minio --address :9001