github.com/dgraph-io/dgraph@v1.2.8/graphql/e2e/schema_subscribe/docker-compose.yml (about)

     1  # Auto-generated with: [./compose -a 3 -z 1 -w]
     2  #
     3  version: "3.5"
     4  services:
     5    alpha1:
     6      image: dgraph/dgraph:latest
     7      container_name: alpha1
     8      working_dir: /data/alpha1
     9      labels:
    10        cluster: test
    11      ports:
    12      - 8180:8180
    13      - 9180:9180
    14      volumes:
    15      - type: bind
    16        source: $GOPATH/bin
    17        target: /gobin
    18        read_only: true
    19      command: /gobin/dgraph alpha -o 100 --my=alpha1:7180 --lru_mb=1024 --zero=zero1:5180
    20        --logtostderr -v=2 --idx=1 --whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
    21    alpha2:
    22      image: dgraph/dgraph:latest
    23      container_name: alpha2
    24      working_dir: /data/alpha2
    25      depends_on:
    26      - alpha1
    27      labels:
    28        cluster: test
    29      ports:
    30      - 8182:8182
    31      - 9182:9182
    32      volumes:
    33      - type: bind
    34        source: $GOPATH/bin
    35        target: /gobin
    36        read_only: true
    37      command: /gobin/dgraph alpha -o 102 --my=alpha2:7182 --lru_mb=1024 --zero=zero1:5180
    38        --logtostderr -v=2 --idx=2 --whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
    39    alpha3:
    40      image: dgraph/dgraph:latest
    41      container_name: alpha3
    42      working_dir: /data/alpha3
    43      depends_on:
    44      - alpha2
    45      labels:
    46        cluster: test
    47      ports:
    48      - 8183:8183
    49      - 9183:9183
    50      volumes:
    51      - type: bind
    52        source: $GOPATH/bin
    53        target: /gobin
    54        read_only: true
    55      command: /gobin/dgraph alpha -o 103 --my=alpha3:7183 --lru_mb=1024 --zero=zero1:5180
    56        --logtostderr -v=2 --idx=3 --whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
    57    zero1:
    58      image: dgraph/dgraph:latest
    59      container_name: zero1
    60      working_dir: /data/zero1
    61      labels:
    62        cluster: test
    63      ports:
    64      - 5180:5180
    65      - 6180:6180
    66      volumes:
    67      - type: bind
    68        source: $GOPATH/bin
    69        target: /gobin
    70        read_only: true
    71      command: /gobin/dgraph zero -o 100 --idx=1 --my=zero1:5180 --replicas=1 --logtostderr
    72        -v=2 --bindall
    73  volumes: {}