Guest User

Untitled

a guest
Nov 24th, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.23 KB | None | 0 0
  1. version: '2'
  2. services:
  3. agency:
  4. image: arangodb/arangodb
  5. environment:
  6. - ARANGO_ROOT_PASSWORD=openSesame
  7. command: arangod --server.endpoint tcp://0.0.0.0:5001 --server.jwt-secret=openSesame --agency.activate true --agency.size 1 --agency.supervision true
  8.  
  9. coordinator:
  10. image: arangodb/arangodb
  11. environment:
  12. - ARANGO_ROOT_PASSWORD=openSesame
  13. command: arangod --server.jwt-secret=openSesame --server.endpoint tcp://0.0.0.0:8529 --cluster.my-address tcp://coordinator:8529 --cluster.my-local-info coord1 --cluster.my-role COORDINATOR --cluster.agency-endpoint tcp://agency:5001
  14. ports: ['8000:8529']
  15. depends_on:
  16. - agency
  17. coordinator2:
  18. image: arangodb/arangodb
  19. environment:
  20. - ARANGO_ROOT_PASSWORD=openSesame
  21. command: arangod --server.jwt-secret=openSesame --server.endpoint tcp://0.0.0.0:8529 --cluster.my-address tcp://coordinator2:8529 --cluster.my-local-info coord2 --cluster.my-role COORDINATOR --cluster.agency-endpoint tcp://agency:5001
  22. ports: ['8001:8529']
  23. depends_on:
  24. - agency
  25.  
  26. db1:
  27. image: arangodb/arangodb
  28. environment:
  29. - ARANGO_ROOT_PASSWORD=openSesame
  30. command: arangod --server.jwt-secret=openSesame --database.password=true --server.endpoint tcp://0.0.0.0:8529 --cluster.my-address tcp://db1:8529 --cluster.my-local-info db1 --cluster.my-role PRIMARY --cluster.agency-endpoint tcp://agency:5001
  31. depends_on:
  32. - agency
  33. db2:
  34. image: arangodb/arangodb
  35. environment:
  36. - ARANGO_ROOT_PASSWORD=openSesame
  37. command: arangod --server.jwt-secret=openSesame --database.password=true --server.endpoint tcp://0.0.0.0:8529 --cluster.my-address tcp://db2:8529 --cluster.my-local-info db2 --cluster.my-role PRIMARY --cluster.agency-endpoint tcp://agency:5001
  38. depends_on:
  39. - agency
  40. db3:
  41. image: arangodb/arangodb
  42. environment:
  43. - ARANGO_ROOT_PASSWORD=openSesame
  44. command: arangod --server.jwt-secret=openSesame --database.password=true --server.endpoint tcp://0.0.0.0:8529 --cluster.my-address tcp://db3:8529 --cluster.my-local-info db3 --cluster.my-role PRIMARY --cluster.agency-endpoint tcp://agency:5001
  45. depends_on:
  46. - agency
Add Comment
Please, Sign In to add comment