Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion compose/compose.go
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ func getAlpha(idx int, raft string) service {
svc.Command += fmt.Sprintf(" --vmodule=%s", opts.Vmodule)
}
if opts.WhiteList {
svc.Command += ` --security "whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;"`
svc.Command += ` --security "whitelist=0.0.0.0/0;"`
}
if opts.Acl {
svc.Command += ` --acl "secret-file=/secret/hmac;"`
Expand Down
12 changes: 6 additions & 6 deletions dgraph/cmd/alpha/mutations_mode/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ services:
read_only: true
command:
/gobin/dgraph ${COVERAGE_OUTPUT} alpha --my=alpha1:7080
--zero=zero1:5080,zero2:5080,zero3:5080 --logtostderr -v=2 --security
"whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;" --limit "mutations=disallow;"
--zero=zero1:5080,zero2:5080,zero3:5080 --logtostderr -v=2 --security "whitelist=0.0.0.0/0;"
--limit "mutations=disallow;"
alpha2:
image: dgraph/dgraph:local
working_dir: /data/alpha2
Expand All @@ -35,8 +35,8 @@ services:
read_only: true
command:
/gobin/dgraph ${COVERAGE_OUTPUT} alpha --my=alpha2:7080
--zero=zero1:5080,zero2:5080,zero3:5080 --logtostderr -v=2 --security
"whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;" --limit "mutations=strict;"
--zero=zero1:5080,zero2:5080,zero3:5080 --logtostderr -v=2 --security "whitelist=0.0.0.0/0;"
--limit "mutations=strict;"
alpha3:
image: dgraph/dgraph:local
working_dir: /data/alpha3
Expand All @@ -52,8 +52,8 @@ services:
read_only: true
command:
/gobin/dgraph ${COVERAGE_OUTPUT} alpha --my=alpha3:7080
--zero=zero1:5080,zero2:5080,zero3:5080 --logtostderr -v=2 --security
"whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;" --limit "mutations=strict;"
--zero=zero1:5080,zero2:5080,zero3:5080 --logtostderr -v=2 --security "whitelist=0.0.0.0/0;"
--limit "mutations=strict;"
zero1:
image: dgraph/dgraph:local
working_dir: /data/zero1
Expand Down
18 changes: 6 additions & 12 deletions dgraph/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,7 @@ services:
/gobin/dgraph ${COVERAGE_OUTPUT} alpha --telemetry "reports=false;" --encryption
"key-file=/dgraph-enc/enc-key;" --my=alpha1:7080 --zero=zero1:5080,zero2:5080,zero3:5080
--expose_trace --profile_mode block --block_rate 10 --logtostderr -v=2 --security
"whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;" --acl
"secret-file=/dgraph-acl/hmac-secret; access-ttl=20s;"
"whitelist=0.0.0.0/0;" --acl "secret-file=/dgraph-acl/hmac-secret; access-ttl=20s;"

alpha2:
image: dgraph/dgraph:local
Expand Down Expand Up @@ -115,8 +114,7 @@ services:
command:
/gobin/dgraph ${COVERAGE_OUTPUT} alpha --encryption "key-file=/dgraph-enc/enc-key;"
--my=alpha2:7080 --zero=zero1:5080,zero2:5080,zero3:5080 --expose_trace --profile_mode block
--block_rate 10 --logtostderr -v=2 --security
"whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;" --acl
--block_rate 10 --logtostderr -v=2 --security "whitelist=0.0.0.0/0;" --acl
"secret-file=/dgraph-acl/hmac-secret; access-ttl=20s;"

alpha3:
Expand Down Expand Up @@ -146,8 +144,7 @@ services:
command:
/gobin/dgraph ${COVERAGE_OUTPUT} alpha --encryption "key-file=/dgraph-enc/enc-key;"
--my=alpha3:7080 --zero=zero1:5080,zero2:5080,zero3:5080 --expose_trace --profile_mode block
--block_rate 10 --logtostderr -v=2 --security
"whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;" --acl
--block_rate 10 --logtostderr -v=2 --security "whitelist=0.0.0.0/0;" --acl
"secret-file=/dgraph-acl/hmac-secret; access-ttl=20s;"

alpha4:
Expand Down Expand Up @@ -177,8 +174,7 @@ services:
command:
/gobin/dgraph ${COVERAGE_OUTPUT} alpha --encryption "key-file=/dgraph-enc/enc-key;"
--my=alpha4:7080 --zero=zero1:5080,zero2:5080,zero3:5080 --expose_trace --profile_mode block
--block_rate 10 --logtostderr -v=2 --security
"whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;" --acl
--block_rate 10 --logtostderr -v=2 --security "whitelist=0.0.0.0/0;" --acl
"secret-file=/dgraph-acl/hmac-secret; access-ttl=20s;"

alpha5:
Expand Down Expand Up @@ -208,8 +204,7 @@ services:
command:
/gobin/dgraph ${COVERAGE_OUTPUT} alpha --encryption "key-file=/dgraph-enc/enc-key;"
--my=alpha5:7080 --zero=zero1:5080,zero2:5080,zero3:5080 --expose_trace --profile_mode block
--block_rate 10 --logtostderr -v=2 --security
"whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;" --acl
--block_rate 10 --logtostderr -v=2 --security "whitelist=0.0.0.0/0;" --acl
"secret-file=/dgraph-acl/hmac-secret; access-ttl=20s;"

alpha6:
Expand Down Expand Up @@ -239,8 +234,7 @@ services:
command:
/gobin/dgraph ${COVERAGE_OUTPUT} alpha --encryption "key-file=/dgraph-enc/enc-key;"
--my=alpha6:7080 --zero=zero1:5080,zero2:5080,zero3:5080 --expose_trace --profile_mode block
--block_rate 10 --logtostderr -v=2 --security
"whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;" --acl
--block_rate 10 --logtostderr -v=2 --security "whitelist=0.0.0.0/0;" --acl
"secret-file=/dgraph-acl/hmac-secret; access-ttl=20s;"

minio:
Expand Down
5 changes: 2 additions & 3 deletions dgraphtest/dgraph.go
Original file line number Diff line number Diff line change
Expand Up @@ -235,10 +235,9 @@ func (a *alpha) cmd(c *LocalCluster) []string {
"--bindall", "--logtostderr", fmt.Sprintf("-v=%d", c.conf.verbosity)}

if c.lowerThanV21 {
acmd = append(acmd, `--whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16`, "--telemetry=false")
acmd = append(acmd, `--whitelist=0.0.0.0/0`, "--telemetry=false")
} else {
acmd = append(acmd, `--security=whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16`,
"--telemetry=reports=false;")
acmd = append(acmd, `--security=whitelist=0.0.0.0/0`, "--telemetry=reports=false;")
}

if c.conf.lambdaURL != "" {
Expand Down
4 changes: 2 additions & 2 deletions graphql/e2e/admin_auth/poorman_auth/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ services:
service: alpha1
command:
/gobin/dgraph ${COVERAGE_OUTPUT} alpha --my=alpha1:7080 --zero=zero1:5080 --expose_trace
--profile_mode block --block_rate 10 --logtostderr -v=2 --security
"whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16; token=itIsSecret;" --trace "ratio=1.0;"
--profile_mode block --block_rate 10 --logtostderr -v=2 --security "whitelist=0.0.0.0/0;
token=itIsSecret;" --trace "ratio=1.0;"
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ services:
service: alpha1
command:
/gobin/dgraph ${COVERAGE_OUTPUT} alpha --my=alpha1:7080 --zero=zero1:5080 --expose_trace
--profile_mode block --block_rate 10 --logtostderr -v=2 --security
"whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16; token=itIsSecret;" --acl
"secret-file=/dgraph-acl/hmac-secret; access-ttl=3s;" --trace "ratio=1.0;"
--profile_mode block --block_rate 10 --logtostderr -v=2 --security "whitelist=0.0.0.0/0;
token=itIsSecret;" --acl "secret-file=/dgraph-acl/hmac-secret; access-ttl=3s;" --trace
"ratio=1.0;"
4 changes: 2 additions & 2 deletions graphql/e2e/auth/debug_off/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ services:
service: alpha1
command:
/gobin/dgraph ${COVERAGE_OUTPUT} alpha --zero=zero1:5080 --expose_trace --profile_mode block
--block_rate 10 --logtostderr -v=3 --my=alpha1:7080 --security
"whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;" --trace "ratio=1.0;"
--block_rate 10 --logtostderr -v=3 --my=alpha1:7080 --security "whitelist=0.0.0.0/0;" --trace
"ratio=1.0;"
5 changes: 2 additions & 3 deletions graphql/e2e/auth/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,5 @@ services:
service: alpha1
command:
/gobin/dgraph ${COVERAGE_OUTPUT} alpha --zero=zero1:5080 --expose_trace --profile_mode block
--block_rate 10 --logtostderr -v=3 --my=alpha1:7080 --security
"whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;" --graphql "debug=true;" --trace
"ratio=1.0;"
--block_rate 10 --logtostderr -v=3 --my=alpha1:7080 --security "whitelist=0.0.0.0/0;"
--graphql "debug=true;" --trace "ratio=1.0;"
5 changes: 2 additions & 3 deletions graphql/e2e/auth_closed_by_default/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,5 @@ services:
service: alpha1
command:
/gobin/dgraph ${COVERAGE_OUTPUT} alpha --zero=zero1:5080 --expose_trace --profile_mode block
--block_rate 10 --logtostderr -v=3 --my=alpha1:7080 --security
"whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;" --graphql "debug=true;" --trace
"ratio=1.0;"
--block_rate 10 --logtostderr -v=3 --my=alpha1:7080 --security "whitelist=0.0.0.0/0;"
--graphql "debug=true;" --trace "ratio=1.0;"
2 changes: 1 addition & 1 deletion graphql/e2e/custom_logic/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ services:
read_only: true
command:
/gobin/dgraph ${COVERAGE_OUTPUT} alpha --my=alpha1:7080 --zero=zero1:5080 --logtostderr -v=2
--raft="idx=1;" --security "whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;"
--raft="idx=1;" --security "whitelist=0.0.0.0/0;"
zero1:
image: dgraph/dgraph:local
working_dir: /data/zero1
Expand Down
5 changes: 2 additions & 3 deletions graphql/e2e/directives/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,8 @@ services:
service: alpha1
command:
/gobin/dgraph ${COVERAGE_OUTPUT} alpha --zero=zero1:5080 --expose_trace --profile_mode block
--block_rate 10 --logtostderr -v=2 --my=alpha1:7080 --security
"whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;" --graphql
"lambda-url=http://lambda:8686/graphql-worker; debug=true;" --trace "ratio=1.0;"
--block_rate 10 --logtostderr -v=2 --my=alpha1:7080 --security "whitelist=0.0.0.0/0;"
--graphql "lambda-url=http://lambda:8686/graphql-worker; debug=true;" --trace "ratio=1.0;"

lambda:
image: dgraph/dgraph-lambda:latest
Expand Down
12 changes: 6 additions & 6 deletions graphql/e2e/multi_tenancy/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ services:
read_only: true
command:
/gobin/dgraph ${COVERAGE_OUTPUT} alpha --my=alpha1:7080 --zero=zero1:5080 --logtostderr -v=2
--raft "idx=1;" --security "whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;" --acl
"secret-file=/dgraph-acl/hmac-secret; access-ttl=3000s;"
--raft "idx=1;" --security "whitelist=0.0.0.0/0;" --acl "secret-file=/dgraph-acl/hmac-secret;
access-ttl=3000s;"
alpha2:
image: dgraph/dgraph:local
working_dir: /data/alpha2
Expand All @@ -44,8 +44,8 @@ services:
read_only: true
command:
/gobin/dgraph ${COVERAGE_OUTPUT} alpha --my=alpha2:7080 --zero=zero1:5080 --logtostderr -v=2
--raft "idx=2;" --security "whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;" --acl
"secret-file=/dgraph-acl/hmac-secret; access-ttl=3000s;"
--raft "idx=2;" --security "whitelist=0.0.0.0/0;" --acl "secret-file=/dgraph-acl/hmac-secret;
access-ttl=3000s;"
alpha3:
image: dgraph/dgraph:local
working_dir: /data/alpha3
Expand All @@ -67,8 +67,8 @@ services:
read_only: true
command:
/gobin/dgraph ${COVERAGE_OUTPUT} alpha --my=alpha3:7080 --zero=zero1:5080 --logtostderr -v=2
--raft "idx=3;" --security "whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;" --acl
"secret-file=/dgraph-acl/hmac-secret; access-ttl=3000s;"
--raft "idx=3;" --security "whitelist=0.0.0.0/0;" --acl "secret-file=/dgraph-acl/hmac-secret;
access-ttl=3000s;"
zero1:
image: dgraph/dgraph:local
working_dir: /data/zero1
Expand Down
5 changes: 2 additions & 3 deletions graphql/e2e/normal/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,8 @@ services:
service: alpha1
command:
/gobin/dgraph ${COVERAGE_OUTPUT} alpha --zero=zero1:5080 --expose_trace --profile_mode block
--block_rate 10 --logtostderr -v=2 --my=alpha1:7080 --security
"whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;" --graphql
"lambda-url=http://lambda:8686/graphql-worker; debug=true;" --trace "ratio=1.0;"
--block_rate 10 --logtostderr -v=2 --my=alpha1:7080 --security "whitelist=0.0.0.0/0;"
--graphql "lambda-url=http://lambda:8686/graphql-worker; debug=true;" --trace "ratio=1.0;"

lambda:
image: dgraph/dgraph-lambda:latest
Expand Down
6 changes: 3 additions & 3 deletions graphql/e2e/schema/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ services:
read_only: true
command:
/gobin/dgraph ${COVERAGE_OUTPUT} alpha --my=alpha1:7080 --zero=zero1:5080 --logtostderr -v=2
--raft "idx=1;" --security "whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;"
--raft "idx=1;" --security "whitelist=0.0.0.0/0;"
alpha2:
image: dgraph/dgraph:local
working_dir: /data/alpha2
Expand All @@ -43,7 +43,7 @@ services:
read_only: true
command:
/gobin/dgraph ${COVERAGE_OUTPUT} alpha --my=alpha2:7080 --zero=zero1:5080 --logtostderr -v=2
--raft "idx=2;" --security "whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;"
--raft "idx=2;" --security "whitelist=0.0.0.0/0;"
alpha3:
image: dgraph/dgraph:local
working_dir: /data/alpha3
Expand All @@ -65,7 +65,7 @@ services:
read_only: true
command:
/gobin/dgraph ${COVERAGE_OUTPUT} alpha --my=alpha3:7080 --zero=zero1:5080 --logtostderr -v=2
--raft "idx=3;" --security "whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;"
--raft "idx=3;" --security "whitelist=0.0.0.0/0;"
zero1:
image: dgraph/dgraph:local
working_dir: /data/zero1
Expand Down
6 changes: 3 additions & 3 deletions graphql/e2e/subscription/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ services:
read_only: true
command:
/gobin/dgraph ${COVERAGE_OUTPUT} alpha --my=alpha1:7080 --zero=zero1:5080 --logtostderr -v=2
--raft="idx=1;" --security "whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;"
--raft="idx=1;" --security "whitelist=0.0.0.0/0;"
alpha2:
image: dgraph/dgraph:local
working_dir: /data/alpha2
Expand All @@ -35,7 +35,7 @@ services:
read_only: true
command:
/gobin/dgraph ${COVERAGE_OUTPUT} alpha --my=alpha2:7080 --zero=zero1:5080 --logtostderr -v=2
--raft="idx=2;" --security "whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;"
--raft="idx=2;" --security "whitelist=0.0.0.0/0;"
alpha3:
image: dgraph/dgraph:local
working_dir: /data/alpha3
Expand All @@ -53,7 +53,7 @@ services:
read_only: true
command:
/gobin/dgraph ${COVERAGE_OUTPUT} alpha --my=alpha3:7080 --zero=zero1:5080 --logtostderr -v=2
--raft="idx=3;" --security "whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;"
--raft="idx=3;" --security "whitelist=0.0.0.0/0;"
zero1:
image: dgraph/dgraph:local
working_dir: /data/zero1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ services:
read_only: false
command:
/gobin/dgraph ${COVERAGE_OUTPUT} alpha -o 100 --my=alpha1:7180 --lru_mb=1024
--zero=zero1:5180 --logtostderr -v=2 --raft="idx=1;" --security
"whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;"
--zero=zero1:5180 --logtostderr -v=2 --raft="idx=1;" --security "whitelist=0.0.0.0/0;"
zero1:
image: dgraph/dgraph:local
container_name: zero1
Expand Down
2 changes: 1 addition & 1 deletion systest/1million/alpha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ services:
read_only: false
command:
/gobin/dgraph alpha --my=alpha1:7080 --zero=zero1:5080 -p=/posting --logtostderr -v=2
--security "whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;"
--security "whitelist=0.0.0.0/0;"
2 changes: 1 addition & 1 deletion systest/21million/bulk/alpha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ services:
read_only: false
command:
/gobin/dgraph alpha --my=alpha1:7080 --zero=zero1:5080 -p=/posting --logtostderr -v=2
--security "whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;"
--security "whitelist=0.0.0.0/0;"
3 changes: 1 addition & 2 deletions systest/acl/restore/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ services:
read_only: true
command:
/gobin/dgraph ${COVERAGE_OUTPUT} alpha --my=alpha1:7080 --zero=zero1:5080 --logtostderr -v=2
--raft "idx=1; group=1" --security "whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;" --acl
"secret-file=/secret/hmac;"
--raft "idx=1; group=1" --security "whitelist=0.0.0.0/0;" --acl "secret-file=/secret/hmac;"
deploy:
resources:
limits:
Expand Down
2 changes: 1 addition & 1 deletion systest/audit/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ services:
command:
/gobin/dgraph ${COVERAGE_OUTPUT} alpha --raft="idx=1;group=1" --my=alpha1:7080
--zero=zero1:5080 --logtostderr --audit "output=/audit_dir;" -v=2 --security
"whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;"
"whitelist=0.0.0.0/0;"
zero1:
image: dgraph/dgraph:local
working_dir: /data/zero1
Expand Down
2 changes: 1 addition & 1 deletion systest/audit_encrypted/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ services:
command:
/gobin/dgraph ${COVERAGE_OUTPUT} alpha --raft="idx=1;group=1" --my=alpha1:7080
--zero=zero1:5080 --logtostderr --audit "output=/audit_dir;encrypt-file=/dgraph-enc/enc-key"
-v=2 --security "whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;"
-v=2 --security "whitelist=0.0.0.0/0;"
zero1:
image: dgraph/dgraph:local
working_dir: /data/zero1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ services:

command:
/gobin/dgraph ${COVERAGE_OUTPUT} alpha --my=alpha1:7080 --zero=zero1:5080 --logtostderr -v=2
--raft "idx=1; group=1;" --security "whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;" --acl
"secret-file=/secret/hmac;"
--raft "idx=1; group=1;" --security "whitelist=0.0.0.0/0;" --acl "secret-file=/secret/hmac;"

zero1:
image: dgraph/dgraph:local
Expand Down Expand Up @@ -68,8 +67,7 @@ services:
- data-volume:/data/backups/
command:
/gobin/dgraph ${COVERAGE_OUTPUT} alpha --my=alpha2:7080 --zero=zero2:5080 --logtostderr -v=2
--raft "idx=1; group=1;" --security "whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;" --acl
"secret-file=/secret/hmac;"
--raft "idx=1; group=1;" --security "whitelist=0.0.0.0/0;" --acl "secret-file=/secret/hmac;"

zero2:
image: dgraph/dgraph:local
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ services:
- data-volume:/data/backups/
command:
/gobin/dgraph ${COVERAGE_OUTPUT} alpha --my=alpha1:7080 --zero=zero1:5080 --logtostderr -v=2
--raft "idx=1; group=1;" --security "whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;" --acl
"secret-file=/secret/hmac;"
--raft "idx=1; group=1;" --security "whitelist=0.0.0.0/0;" --acl "secret-file=/secret/hmac;"

zero1:
image: dgraph/dgraph:local
Expand Down Expand Up @@ -66,7 +65,7 @@ services:
- data-volume:/data/backups/
command:
/gobin/dgraph ${COVERAGE_OUTPUT} alpha --my=alpha2:7080 --zero=zero2:5080 --security
"whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;"
"whitelist=0.0.0.0/0;"

zero2:
image: dgraph/dgraph:local
Expand Down Expand Up @@ -110,8 +109,7 @@ services:
- data-volume:/data/backups/
command:
/gobin/dgraph ${COVERAGE_OUTPUT} alpha --my=alpha3:7080 --zero=zero3:5080 --logtostderr -v=2
--raft "idx=1; group=1;" --security "whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;" --acl
"secret-file=/secret/hmac;"
--raft "idx=1; group=1;" --security "whitelist=0.0.0.0/0;" --acl "secret-file=/secret/hmac;"

zero3:
image: dgraph/dgraph:local
Expand Down Expand Up @@ -150,7 +148,7 @@ services:
- data-volume:/data/backups/
command:
/gobin/dgraph ${COVERAGE_OUTPUT} alpha --my=alpha4:7080 --zero=zero4:5080 --security
"whitelist=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16;"
"whitelist=0.0.0.0/0;"

zero4:
image: dgraph/dgraph:local
Expand Down
Loading