Skip to content

Commit 9eccee1

Browse files
Borja Burgosbfirsh
Borja Burgos
authored andcommitted
adding dockercloud.yml
1 parent 874a4bc commit 9eccee1

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

dockercloud.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
db:
2+
image: 'postgres:9.4'
3+
restart: always
4+
redis:
5+
image: 'redis:latest'
6+
restart: always
7+
result-app:
8+
autoredeploy: true
9+
image: 'instavote/result-app:latest'
10+
ports:
11+
- '80:80'
12+
restart: always
13+
lb:
14+
autoredeploy: true
15+
image: 'dockercloud/haproxy:latest'
16+
links:
17+
- web
18+
ports:
19+
- "80:80"
20+
roles:
21+
- global
22+
restart: always
23+
voting-app:
24+
autoredeploy: true
25+
image: 'instavote/voting-app:latest'
26+
restart: always
27+
target_num_containers: 5
28+
29+
worker:
30+
autoredeploy: true
31+
image: 'instavote/worker:latest'
32+
restart: always
33+
target_num_containers: 3

0 commit comments

Comments
 (0)