Advertisement
Guest User

Untitled

a guest
Sep 17th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. version: "3.2"
  2. services:
  3. zero:
  4. image: dgraph/dgraph:latest
  5. volumes:
  6. - type: bind
  7. source: $HOME/dgraph
  8. target: /dgraph
  9. ports:
  10. - 5080:5080
  11. - 6080:6080
  12. restart: on-failure
  13. command: dgraph zero --my=zero:5080
  14. server:
  15. image: dgraph/dgraph:latest
  16. volumes:
  17. - type: bind
  18. source: $HOME/dgraph
  19. target: /dgraph
  20. ports:
  21. - 8181:8080
  22. - 9080:9080
  23. restart: on-failure
  24. command: dgraph alpha --my=server:7080 --lru_mb=2048 --zero=zero:5080
  25. ratel:
  26. image: dgraph/dgraph:latest
  27. volumes:
  28. - type: bind
  29. source: $HOME/dgraph
  30. target: /dgraph
  31. ports:
  32. - 9000:8000
  33. command: dgraph-ratel
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement