github.com/unigraph-dev/dgraph@v1.1.1-0.20200923154953-8b52b426f765/tlstest/certrequireandverify/docker-compose.yml (about) 1 version: "3.5" 2 services: 3 alpha1: 4 image: dgraph/dgraph:latest 5 container_name: alpha1 6 working_dir: /data/alpha1 7 labels: 8 cluster: test 9 ports: 10 - 8180:8180 11 - 9180:9180 12 volumes: 13 - type: bind 14 source: $GOPATH/bin 15 target: /gobin 16 read_only: true 17 - type: bind 18 source: $GOPATH/src/github.com/dgraph-io/dgraph/tlstest/tls 19 target: /dgraph-tls 20 read_only: true 21 command: /gobin/dgraph alpha -o 100 --my=alpha1:7180 --lru_mb=1024 --zero=zero1:5180 --logtostderr -v=2 --tls_dir /dgraph-tls --tls_client_auth REQUIREANDVERIFY 22 zero1: 23 image: dgraph/dgraph:latest 24 container_name: zero1 25 working_dir: /data/zero1 26 labels: 27 cluster: test 28 ports: 29 - 5180:5180 30 - 6180:6180 31 volumes: 32 - type: bind 33 source: $GOPATH/bin 34 target: /gobin 35 read_only: true 36 command: /gobin/dgraph zero -o 100 --idx=1 --my=zero1:5180 --replicas=3 --logtostderr 37 -v=2 --bindall 38 volumes: {}