Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '2'
- services:
- agency:
- image: arangodb/arangodb
- environment:
- - ARANGO_ROOT_PASSWORD=openSesame
- command: arangod --server.endpoint tcp://0.0.0.0:5001 --server.jwt-secret=openSesame --agency.activate true --agency.size 1 --agency.supervision true
- coordinator:
- image: arangodb/arangodb
- environment:
- - ARANGO_ROOT_PASSWORD=openSesame
- 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
- ports: ['8000:8529']
- depends_on:
- - agency
- coordinator2:
- image: arangodb/arangodb
- environment:
- - ARANGO_ROOT_PASSWORD=openSesame
- 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
- ports: ['8001:8529']
- depends_on:
- - agency
- db1:
- image: arangodb/arangodb
- environment:
- - ARANGO_ROOT_PASSWORD=openSesame
- 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
- depends_on:
- - agency
- db2:
- image: arangodb/arangodb
- environment:
- - ARANGO_ROOT_PASSWORD=openSesame
- 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
- depends_on:
- - agency
- db3:
- image: arangodb/arangodb
- environment:
- - ARANGO_ROOT_PASSWORD=openSesame
- 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
- depends_on:
- - agency
Add Comment
Please, Sign In to add comment