Skip to content

Instantly share code, notes, and snippets.

@ianneub
Created April 30, 2015 19:30
Show Gist options
  • Save ianneub/ea19d0a6cbf4d527fcfc to your computer and use it in GitHub Desktop.
Save ianneub/ea19d0a6cbf4d527fcfc to your computer and use it in GitHub Desktop.
Tutum.co stack yaml to create a crate.io cluster
proxy:
image: tutum/haproxy
environment:
- BACKEND_PORT=4200
ports:
- "4200:80"
links:
- crate
roles:
- global
crate:
image: 'crate:latest'
deployment_strategy: high_availability
target_num_containers: 3
environment:
- CREATE_HEAP_SIZE=1g
command: >
crate
-Des.cluster.name=mynewcluster
-Des.network.publish_host=_ethwe:ipv4_
-Des.network.bind_host=0.0.0.0
-Des.discovery.zen.minimum_master_nodes=2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment