Created
June 6, 2015 18:17
-
-
Save borjaburgos/de354401987e7f4f2d09 to your computer and use it in GitHub Desktop.
ContainerDays
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
lb: | |
image: 'tutum/haproxy:latest' | |
autorestart: always | |
links: | |
- web-green | |
ports: | |
- '80:80' | |
roles: | |
- global | |
deployment_strategy: high_availability | |
redis: | |
image: 'tutum/redis:latest' | |
autorestart: always | |
environment: | |
- REDIS_PASS=password | |
web-blue: | |
image: 'borja/containerdays:v1' | |
autorestart: always | |
links: | |
- redis | |
target_num_containers: 1 | |
deployment_strategy: high_availability | |
web-green: | |
image: 'borja/containerdays:v1' | |
autorestart: always | |
links: | |
- redis | |
target_num_containers: 3 | |
deployment_strategy: high_availability | |
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
lb: | |
image: 'tutum/haproxy:latest' | |
autorestart: always | |
links: | |
- web | |
ports: | |
- '80:80' | |
roles: | |
- global | |
deployment_strategy: high_availability | |
redis: | |
image: 'tutum/redis:latest' | |
autorestart: always | |
environment: | |
- REDIS_PASS=password | |
web: | |
image: 'borja/web' | |
autorestart: always | |
links: | |
- redis | |
target_num_containers: 6 | |
deployment_strategy: high_availability | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment