Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: "3.2"
- services:
- zero:
- image: dgraph/dgraph:latest
- volumes:
- - type: bind
- source: $HOME/dgraph
- target: /dgraph
- ports:
- - 5080:5080
- - 6080:6080
- restart: on-failure
- command: dgraph zero --my=zero:5080
- server:
- image: dgraph/dgraph:latest
- volumes:
- - type: bind
- source: $HOME/dgraph
- target: /dgraph
- ports:
- - 8181:8080
- - 9080:9080
- restart: on-failure
- command: dgraph alpha --my=server:7080 --lru_mb=2048 --zero=zero:5080
- ratel:
- image: dgraph/dgraph:latest
- volumes:
- - type: bind
- source: $HOME/dgraph
- target: /dgraph
- ports:
- - 9000:8000
- command: dgraph-ratel
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement