|
| 1 | +# Auto-generated with: [./compose -a 3 -z 1 -r 1 --minio --minio_port=9001 --minio_env_file=../../backup.env -w --port_offset=0 --expose_ports=false --mem= --names=false -O ../systest/backup/minio-large/docker-compose.yml] |
| 2 | +# |
| 3 | +version: "3.5" |
| 4 | +services: |
| 5 | + alpha1: |
| 6 | + image: dgraph/dgraph:local |
| 7 | + working_dir: /data/alpha1 |
| 8 | + env_file: |
| 9 | + - ../../backup.env |
| 10 | + labels: |
| 11 | + cluster: test |
| 12 | + ports: |
| 13 | + - "8080" |
| 14 | + - "9080" |
| 15 | + volumes: |
| 16 | + - type: bind |
| 17 | + source: $GOPATH/bin |
| 18 | + target: /gobin |
| 19 | + read_only: true |
| 20 | + - type: bind |
| 21 | + source: ../../../tlstest/mtls_internal/tls/alpha1 |
| 22 | + target: /dgraph-tls |
| 23 | + read_only: true |
| 24 | + command: /gobin/dgraph ${COVERAGE_OUTPUT} alpha --my=alpha1:7080 --zero=zero1:5080 --logtostderr -v=2 |
| 25 | + --security "whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;" |
| 26 | + --tls "ca-cert=/dgraph-tls/ca.crt; server-cert=/dgraph-tls/node.crt; server-key=/dgraph-tls/node.key; internal-port=true; client-cert=/dgraph-tls/client.alpha1.crt; client-key=/dgraph-tls/client.alpha1.key;" |
| 27 | + alpha2: |
| 28 | + image: dgraph/dgraph:local |
| 29 | + working_dir: /data/alpha2 |
| 30 | + env_file: |
| 31 | + - ../../backup.env |
| 32 | + labels: |
| 33 | + cluster: test |
| 34 | + ports: |
| 35 | + - "8080" |
| 36 | + - "9080" |
| 37 | + volumes: |
| 38 | + - type: bind |
| 39 | + source: $GOPATH/bin |
| 40 | + target: /gobin |
| 41 | + read_only: true |
| 42 | + - type: bind |
| 43 | + source: ../../../tlstest/mtls_internal/tls/alpha2 |
| 44 | + target: /dgraph-tls |
| 45 | + read_only: true |
| 46 | + command: /gobin/dgraph ${COVERAGE_OUTPUT} alpha --my=alpha2:7080 --zero=zero1:5080 --logtostderr -v=2 |
| 47 | + --security "whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;" |
| 48 | + --tls "ca-cert=/dgraph-tls/ca.crt; server-cert=/dgraph-tls/node.crt; server-key=/dgraph-tls/node.key; internal-port=true; client-cert=/dgraph-tls/client.alpha2.crt; client-key=/dgraph-tls/client.alpha2.key;" |
| 49 | + alpha3: |
| 50 | + image: dgraph/dgraph:local |
| 51 | + working_dir: /data/alpha3 |
| 52 | + env_file: |
| 53 | + - ../../backup.env |
| 54 | + labels: |
| 55 | + cluster: test |
| 56 | + ports: |
| 57 | + - "8080" |
| 58 | + - "9080" |
| 59 | + volumes: |
| 60 | + - type: bind |
| 61 | + source: $GOPATH/bin |
| 62 | + target: /gobin |
| 63 | + read_only: true |
| 64 | + - type: bind |
| 65 | + source: ../../../tlstest/mtls_internal/tls/alpha3 |
| 66 | + target: /dgraph-tls |
| 67 | + read_only: true |
| 68 | + command: /gobin/dgraph ${COVERAGE_OUTPUT} alpha --my=alpha3:7080 --zero=zero1:5080 --logtostderr -v=2 |
| 69 | + --security "whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;" |
| 70 | + --tls "ca-cert=/dgraph-tls/ca.crt; server-cert=/dgraph-tls/node.crt; server-key=/dgraph-tls/node.key; internal-port=true; client-cert=/dgraph-tls/client.alpha3.crt; client-key=/dgraph-tls/client.alpha3.key;" |
| 71 | + minio: |
| 72 | + image: minio/minio:RELEASE.2020-11-13T20-10-18Z-arm64 |
| 73 | + env_file: |
| 74 | + - ../../backup.env |
| 75 | + ports: |
| 76 | + - "9001" |
| 77 | + command: minio server /data/minio --address :9001 |
| 78 | + zero1: |
| 79 | + image: dgraph/dgraph:local |
| 80 | + working_dir: /data/zero1 |
| 81 | + labels: |
| 82 | + cluster: test |
| 83 | + ports: |
| 84 | + - "5080" |
| 85 | + - "6080" |
| 86 | + volumes: |
| 87 | + - type: bind |
| 88 | + source: $GOPATH/bin |
| 89 | + target: /gobin |
| 90 | + read_only: true |
| 91 | + - type: bind |
| 92 | + source: ../../../tlstest/mtls_internal/tls/zero1 |
| 93 | + target: /dgraph-tls |
| 94 | + read_only: true |
| 95 | + command: /gobin/dgraph ${COVERAGE_OUTPUT} zero --raft "idx=1;" --my=zero1:5080 --replicas=1 --logtostderr -v=2 --bindall |
| 96 | + --tls "ca-cert=/dgraph-tls/ca.crt; server-cert=/dgraph-tls/node.crt; server-key=/dgraph-tls/node.key; internal-port=true; client-cert=/dgraph-tls/client.zero1.crt; client-key=/dgraph-tls/client.zero1.key;" |
| 97 | +volumes: {} |
0 commit comments