Created
April 30, 2015 19:30
-
-
Save ianneub/ea19d0a6cbf4d527fcfc to your computer and use it in GitHub Desktop.
Tutum.co stack yaml to create a crate.io cluster
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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