This repository has been archived by the owner on Mar 27, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
206 lines (197 loc) · 5 KB
/
docker-compose.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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
version: '3'
services:
couchdb:
image: "apache/couchdb:1.7.1"
expose:
- "5984"
ports:
- 5984:5984
database_setup:
image: "obiora/maestro:v0.2.0"
links:
- couchdb:couchdb
environment:
COUCHDB_ADMIN_USERNAME:
COUCHDB_ADMIN_PASSWORD:
tty: true
stdin_open: true
entrypoint: bundle exec ruby bin/database_setup.rb
firefox:
image: selenium/node-firefox:3.8.1-erbium
volumes:
- /dev/shm:/dev/shm
depends_on:
- hub
environment:
HUB_HOST: hub
healthcheck:
test: ["CMD", "wget", "--spider", "http://localhost:5555"]
interval: 10s
timeout: 5s
retries: 3
chrome:
image: selenium/node-chrome:3.8.1-erbium
volumes:
- /dev/shm:/dev/shm
depends_on:
- hub
environment:
HUB_HOST: hub
hub:
image: selenium/hub:3.8.1-erbium
environment:
GRID_BROWSER_TIMEOUT: 60
healthcheck:
test: ["CMD", "wget", "--spider", "http://localhost:4444/grid/api/proxy"]
interval: 10s
timeout: 5s
retries: 3
web:
image: "obiora/maestro:v0.2.0"
depends_on:
- database_setup
- firefox
- chrome
links:
- couchdb:couchdb
- recurring_jobs:recurring_jobs
- events:events
- hub:hub
environment:
RAGIOS_RECURRING_JOBS_RECEIVER_ADDRESS: recurring_jobs
RAGIOS_EVENTS_RECEIVER_ADDRESS: events
RAGIOS_WEB_SERVER_ADDRESS: 'tcp://0.0.0.0:5041'
RAGIOS_WEB_SERVER_ENV: production
RAGIOS_ENV: production
RAGIOS_LOG_LEVEL: info
SES_AWS_ACCESS_KEY_ID:
SES_AWS_SECRET_ACCESS_KEY:
AWS_SES_SEND_FROM:
AWS_SES_ENDPOINT:
RAGIOS_ADMIN_USERNAME:
RAGIOS_ADMIN_PASSWORD:
RAGIOS_AUTHENTICATION:
RAGIOS_AUTH_TIMEOUT:
COUCHDB_ADMIN_USERNAME:
COUCHDB_ADMIN_PASSWORD:
S3_AWS_ACCESS_KEY_ID:
S3_AWS_SECRET_ACCESS_KEY:
RAGIOS_HERCULES_S3_DIR:
RAGIOS_HERCULES_ENABLE_SCREENSHOTS:
HUB_HOST: hub
HUB_PORT: 4444
expose:
- "5041"
ports:
- "5041:5041"
tty: true
stdin_open: true
entrypoint: bundle exec pumactl -F server.rb start
recurring_jobs:
image: "obiora/maestro:v0.2.0"
depends_on:
- database_setup
links:
- couchdb:couchdb
- events:events
environment:
RAGIOS_RECURRING_JOBS_RECEIVER_ADDRESS: '0.0.0.0'
RAGIOS_EVENTS_RECEIVER_ADDRESS: events
RAGIOS_WORKERS_PUSHER_ADDRESS: '0.0.0.0'
RAGIOS_ENV: production
RAGIOS_LOG_LEVEL: info
SES_AWS_ACCESS_KEY_ID:
SES_AWS_SECRET_ACCESS_KEY:
AWS_SES_SEND_FROM:
AWS_SES_ENDPOINT:
COUCHDB_ADMIN_USERNAME:
COUCHDB_ADMIN_PASSWORD:
expose:
- "5042"
- "5043"
tty: true
stdin_open: true
entrypoint: bundle exec ruby bin/recurring_jobs_ctl.rb run
workers:
image: "obiora/maestro:v0.2.0"
depends_on:
- database_setup
- firefox
- chrome
links:
- couchdb:couchdb
- events:events
- recurring_jobs:recurring_jobs
- notifications:notifications
- hub:hub
environment:
RAGIOS_RECURRING_JOBS_RECEIVER_ADDRESS: recurring_jobs
RAGIOS_EVENTS_RECEIVER_ADDRESS: events
RAGIOS_WORKERS_PUSHER_ADDRESS: recurring_jobs
RAGIOS_NOTIFICATIONS_RECEIVER_ADDRESS: notifications
RAGIOS_ENV: production
RAGIOS_LOG_LEVEL: info
SES_AWS_ACCESS_KEY_ID:
SES_AWS_SECRET_ACCESS_KEY:
AWS_SES_SEND_FROM:
AWS_SES_ENDPOINT:
COUCHDB_ADMIN_USERNAME:
COUCHDB_ADMIN_PASSWORD:
S3_AWS_ACCESS_KEY_ID:
S3_AWS_SECRET_ACCESS_KEY:
RAGIOS_HERCULES_S3_DIR:
RAGIOS_HERCULES_ENABLE_SCREENSHOTS:
HUB_HOST: hub
HUB_PORT: 4444
tty: true
stdin_open: true
entrypoint: bundle exec ruby bin/workers_ctl.rb run
events:
image: "obiora/maestro:v0.2.0"
depends_on:
- database_setup
links:
- couchdb:couchdb
environment:
RAGIOS_EVENTS_RECEIVER_ADDRESS: '0.0.0.0'
RAGIOS_ENV: production
RAGIOS_LOG_LEVEL: info
COUCHDB_ADMIN_USERNAME:
COUCHDB_ADMIN_PASSWORD:
expose:
- "5045"
tty: true
stdin_open: true
entrypoint: bundle exec ruby bin/events_ctl.rb run
notifications:
image: "obiora/maestro:v0.2.0"
depends_on:
- database_setup
- firefox
- chrome
links:
- couchdb:couchdb
- events:events
- hub:hub
environment:
RAGIOS_NOTIFICATIONS_RECEIVER_ADDRESS: '0.0.0.0'
RAGIOS_EVENTS_RECEIVER_ADDRESS: events
RAGIOS_ENV: production
RAGIOS_LOG_LEVEL: info
SES_AWS_ACCESS_KEY_ID:
SES_AWS_SECRET_ACCESS_KEY:
AWS_SES_SEND_FROM:
AWS_SES_ENDPOINT:
COUCHDB_ADMIN_USERNAME:
COUCHDB_ADMIN_PASSWORD:
S3_AWS_ACCESS_KEY_ID:
S3_AWS_SECRET_ACCESS_KEY:
RAGIOS_HERCULES_S3_DIR:
RAGIOS_HERCULES_ENABLE_SCREENSHOTS:
HUB_HOST: hub
HUB_PORT: 4444
expose:
- "5044"
tty: true
stdin_open: true
entrypoint: bundle exec ruby bin/notifications_ctl.rb run