cloudnet-compose/dockercloud.yml

34 lines
580 B
YAML
Raw Normal View History

2016-06-16 04:15:15 +02:00
db:
image: 'postgres:9.4'
restart: always
redis:
image: 'redis:latest'
restart: always
result-app:
autoredeploy: true
image: 'instavote/result-app:latest'
ports:
- '80:80'
restart: always
lb:
autoredeploy: true
image: 'dockercloud/haproxy:latest'
links:
- web
ports:
- "80:80"
roles:
- global
restart: always
voting-app:
autoredeploy: true
image: 'instavote/voting-app:latest'
restart: always
target_num_containers: 5
worker:
autoredeploy: true
image: 'instavote/worker:latest'
restart: always
target_num_containers: 3