github.com/unigraph-dev/dgraph@v1.1.1-0.20200923154953-8b52b426f765/tlstest/acl/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/ee/acl/hmac-secret
    19        target: /dgraph-acl/hmac-secret
    20        read_only: true
    21      - type: bind
    22        source: $GOPATH/src/github.com/dgraph-io/dgraph/tlstest/tls
    23        target: /dgraph-tls
    24        read_only: true
    25      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 VERIFYIFGIVEN --acl_secret_file /dgraph-acl/hmac-secret
    26    zero1:
    27      image: dgraph/dgraph:latest
    28      container_name: zero1
    29      working_dir: /data/zero1
    30      labels:
    31        cluster: test
    32      ports:
    33      - 5180:5180
    34      - 6180:6180
    35      volumes:
    36      - type: bind
    37        source: $GOPATH/bin
    38        target: /gobin
    39        read_only: true
    40      command: /gobin/dgraph zero -o 100 --idx=1 --my=zero1:5180 --logtostderr
    41        -v=2 --bindall
    42  volumes: {}