How to run Dgraph
Dgraph Notes:
Get docker image:
docker pull dgraph/dgraph
Get it going:
mkdir -p ~/dgraph
# Run dgraphzero
docker run -it -p 8081:8081 -p 8080:8080 -p 9080:9080 -v ~/dgraph:/dgraph --name dgraph dgraph/dgraph dgraph zero --port_offset=-2000
# In another terminal, now run dgraph
docker exec -it dgraph dgraph server --bindall=true --memory_mb 2048 --zero localhost:5080
# Run ratel(Dgraph UI)
docker exec -it dgraph dgraph-ratel
See UI: Dgraph Ratel Dashboard