-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-cloud.yml
99 lines (98 loc) · 1.69 KB
/
docker-cloud.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
api-dev:
image: 'shoutit/shoutit-api:dev'
autoredeploy: true
links:
- 'api-dev-redis:redis'
environment:
- FORCE_SSL=yes
- 'VIRTUAL_HOST=https://dev.api.shoutit.com, http://dev.api.shoutit.com'
restart: always
tags:
- api
- dev
api-dev-lb:
image: 'dockercloud/haproxy:latest'
environment:
- DEFAULT_SSL_CERT=
- STATS_AUTH=
- TERM=xterm-256color
links:
- api-dev
ports:
- '80:80'
- '443:443'
- '45000:1936'
roles:
- global
tags:
- api
- dev
- lb
api-dev-redis:
image: 'redis:latest'
environment:
- TERM=xterm-256color
restart: always
tags:
- api
- dev
- redis
api-dev-rq:
image: 'shoutit/shoutit-api:dev'
autoredeploy: true
command: '/bin/sh -c supervisord -n'
links:
- 'api-dev-redis:redis'
restart: always
tags:
- api
- dev
api-prod:
image: 'shoutit/shoutit-api:prod'
autoredeploy: true
environment:
- FORCE_SSL=yes
- 'VIRTUAL_HOST=https://api.shoutit.com, http://api.shoutit.com'
links:
- 'api-prod-redis:redis'
restart: always
tags:
- api
- prod
api-prod-lb:
image: 'dockercloud/haproxy:latest'
environment:
- DEFAULT_SSL_CERT=
- STATS_AUTH=
- TERM=xterm-256color
links:
- api-prod
ports:
- '80:80'
- '443:443'
- '45000:1936'
roles:
- global
tags:
- api
- prod
- lb
api-prod-redis:
image: 'redis:latest'
environment:
- TERM=xterm-256color
restart: always
tags:
- api
- prod
- redis
api-prod-rq:
image: 'shoutit/shoutit-api:prod'
autoredeploy: true
command: '/bin/sh -c supervisord -n'
links:
- 'api-prod-redis:redis'
restart: always
tags:
- api
- prod