Official docker images
Github open source code
Install with docker-composite, docker-compose.yml
Config documents
version: "3.2"
services:
zero:
image: dgraph/dgraph:latest
volumes:
- /tmp/data:/dgraph
ports:
- 5080:5080
- 6080:6080
restart: on-failure
command: dgraph zero --my=zero:5180
alpha:
image: dgraph/dgraph:latest
volumes:
- /tmp/data:/dgraph
ports:
- 8080:8080
- 9080:9080
restart: on-failure
command: dgraph alpha --my=alpha:7080 --zero=zero:5080
ratel:
image: dgraph/ratel
ports:
- 8000:8000
command: dgraph-ratel
Start with docker-composite
docker-compose up -d
Access http://:8000