20 lines
468 B
YAML
20 lines
468 B
YAML
version: "3.2"
|
|
services:
|
|
zero:
|
|
image: dgraph/dgraph:latest
|
|
ports:
|
|
- 5080:5080
|
|
- 6080:6080
|
|
restart: on-failure
|
|
command: dgraph zero --my=zero:5080
|
|
alpha:
|
|
image: dgraph/dgraph:latest
|
|
ports:
|
|
- 8080:8080
|
|
- 9080:9080
|
|
restart: on-failure
|
|
command: dgraph alpha --my=alpha:7080 --zero=zero:5080 --security whitelist=<IP_ADDRESS>
|
|
ratel:
|
|
image: dgraph/ratel:latest
|
|
ports:
|
|
- 8000:8000 |