Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ContainerDays
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
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
You can’t perform that action at this time.