Skip to content

Commit

Permalink
fixing test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
aman-bansal committed Oct 13, 2020
1 parent fed4695 commit b54a82a
Show file tree
Hide file tree
Showing 54 changed files with 363 additions and 719 deletions.
126 changes: 126 additions & 0 deletions tlstest/mtls_internal/ha_6_node/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
version: "3.5"
services:
alpha1:
image: dgraph/dgraph:latest
container_name: alpha1
working_dir: /data/alpha1
labels:
cluster: test
ports:
- 8180:8180
- 9180:9180
volumes:
- type: bind
source: $GOPATH/bin
target: /gobin
read_only: true
- type: bind
source: ../tls/alpha1
target: /dgraph-tls
read_only: true
command: /gobin/dgraph alpha -o 100 --my=alpha1:7180 --zero=zero1:5180
--logtostderr -v=2 --dgraph_tls_dir /dgraph-tls --dgraph_tls_server_name alpha1 --dgraph_tls_client_name alph1auser
--whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
alpha2:
image: dgraph/dgraph:latest
container_name: alpha2
working_dir: /data/alpha2
labels:
cluster: test
ports:
- 8280:8280
- 9280:9280
volumes:
- type: bind
source: $GOPATH/bin
target: /gobin
read_only: true
- type: bind
source: ../tls/alpha2
target: /dgraph-tls
read_only: true
command: /gobin/dgraph alpha -o 200 --my=alpha2:7280 --zero=zero1:5180
--logtostderr -v=2 --dgraph_tls_dir /dgraph-tls --dgraph_tls_server_name alpha2 --dgraph_tls_client_name alpha2user
--whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
alpha3:
image: dgraph/dgraph:latest
container_name: alpha3
working_dir: /data/alpha3
labels:
cluster: test
ports:
- 8380:8380
- 9380:9380
volumes:
- type: bind
source: $GOPATH/bin
target: /gobin
read_only: true
- type: bind
source: ../tls/alpha3
target: /dgraph-tls
read_only: true
command: /gobin/dgraph alpha -o 300 --my=alpha3:7380 --zero=zero1:5180
--logtostderr -v=2 --dgraph_tls_dir /dgraph-tls --dgraph_tls_server_name alpha3 --dgraph_tls_client_name alpha3user
--whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
zero1:
image: dgraph/dgraph:latest
container_name: zero1
working_dir: /data/zero1
labels:
cluster: test
ports:
- 5180:5180
- 6180:6180
volumes:
- type: bind
source: $GOPATH/bin
target: /gobin
read_only: true
- type: bind
source: ../tls/zero1
target: /dgraph-tls
read_only: true
command: /gobin/dgraph zero -o 100 --idx=1 --my=zero1:5180 --logtostderr --dgraph_tls_dir /dgraph-tls --dgraph_tls_server_name zero1 --dgraph_tls_client_name zero1user
-v=2 --bindall
zero2:
image: dgraph/dgraph:latest
container_name: zero2
working_dir: /data/zero2
labels:
cluster: test
ports:
- 5280:5280
- 6280:6280
volumes:
- type: bind
source: $GOPATH/bin
target: /gobin
read_only: true
- type: bind
source: ../tls/zero2
target: /dgraph-tls
read_only: true
command: /gobin/dgraph zero -o 200 --idx=2 --my=zero2:5280 --logtostderr --peer zero1:5180 --dgraph_tls_dir /dgraph-tls --dgraph_tls_server_name zero2 --dgraph_tls_client_name zero2user
-v=2 --bindall
zero3:
image: dgraph/dgraph:latest
container_name: zero3
working_dir: /data/zero3
labels:
cluster: test
ports:
- 5380:5380
- 6380:6380
volumes:
- type: bind
source: $GOPATH/bin
target: /gobin
read_only: true
- type: bind
source: ../tls/zero3
target: /dgraph-tls
read_only: true
command: /gobin/dgraph zero -o 300 --idx=3 --my=zero3:5380 --logtostderr --peer zero1:5180 --dgraph_tls_dir /dgraph-tls --dgraph_tls_server_name zero3 --dgraph_tls_client_name zero3user
-v=2 --bindall
volumes: {}
Loading

0 comments on commit b54a82a

Please sign in to comment.