Skip to content

Commit 652d4f7

Browse files
authored
Merge pull request #154 from dgraph-io/rahulgurnani/docs
docs: Add information about whitelist IPs
2 parents 69bc106 + 6698384 commit 652d4f7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/simple/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@ services:
2424
- 8080:8080
2525
- 9080:9080
2626
restart: on-failure
27-
command: dgraph alpha --my=server:7080 --lru_mb=2048 --zero=zero:5080
27+
command: dgraph alpha --my=server:7080 --lru_mb=2048 --zero=zero:5080 --whitelist "${WHITELISTED}"
2828
```
29+
The "WHITELISTED" environment variable can be intiialized as described [in this post](https://discuss.dgraph.io/t/suggestion-for-how-to-add-docker-compose-network-to-whitelist/9600). We need to whitelist these IPs because the docker container runs with it's own IP address.
2930

3031
## Install the Dependencies
3132

0 commit comments

Comments
 (0)