Skip to content

Commit

Permalink
fix(standalone): Set whitelist flag using superflag. (#7512)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmai authored Mar 3, 2021
1 parent 7b4d095 commit 4cab90e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions contrib/standalone/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ echo -e "\033[0;33m
Warning: This standalone version is meant for quickstart purposes only.
It is NOT RECOMMENDED for production environments.\033[0;0m"

# For Dgraph versions v20.11 and older
export DGRAPH_ALPHA_WHITELIST=0.0.0.0/0
# For Dgraph versions v21.03 and newer
export DGRAPH_ALPHA_SECURITY='whitelist=0.0.0.0/0'

# TODO properly handle SIGTERM for all three processes.
dgraph-ratel & dgraph zero & dgraph alpha

0 comments on commit 4cab90e

Please sign in to comment.