-
Notifications
You must be signed in to change notification settings - Fork 24
/
defaults.yaml
313 lines (305 loc) · 8.88 KB
/
defaults.yaml
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
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
# App name
name: amour
# Port for the server to listen on
port: 3010
# The host time bind to.
host: '0.0.0.0'
hostname: localhost
# Can be any { socketPath: '/path' } or { host: 'somehost', port: 9999 }
# See dockerode constructor for details: https://github.com/apocas/dockerode
docker:
socketPath: '/var/run/docker.sock'
# name of the instance used in status updates
instanceName: 'ProboCI-dev'
# prefix to use for container names
containerNamePrefix: 'probo'
# container capacity of this container manager instance
containerCapacity: -1 # -1 is unlimited or not set
#proxyStartupPause: 2s # Amount of time to pause after a proxy request starts a container
# If a container proxy lookup needs to start a non-running (but existing)
# container, it'll automatically stop the container after this timeout
# However, every time the proxy's lookup cache expires and it sends another
# proxy lookup request to the Container Manager, that container's idle timeout
# is reset again to this timeout value
containerIdleTimeout: 30m # can use time units here. no units = ms
# Prefixes all routes so that the app can be namespaced.
prefix: ''
# If a container is not specified in the repository's configuration, use this one.
defaultImage: 'proboci/ubuntu:18.04-php7.4'
# The default image used if none is specified.
image: 'proboci/ubuntu:18.04-php7.4'
# The images used by the host manager
images:
'proboci/alpine:php8.0':
services:
cleanapache:
command: 'rm /var/run/apache2/httpd.pid'
apache:
command: 'apachectl start'
port: 80
redis:
command: 'redis-server'
memcached:
command: memcached -u memcache
mysql:
command: 'mysql --user=mysql'
solr:
command: '/opt/solr/bin/solr start -f -force'
php_log:
command: 'tail -F /var/log/apache2/error.log'
'proboci/ubuntu:18.04-php5.6':
services:
cleanapache:
command: 'rm /var/run/apache2/apache2.pid'
memcached:
command: memcached -u memcache
mysql:
command: 'mysqld_safe'
redis:
command: 'redis-server'
solr:
command: '/opt/solr/bin/solr start -f -force'
varnish:
command: 'service varnish start'
apache:
command: '/usr/sbin/apache2ctl -D FOREGROUND'
port: 80
php_log:
command: 'tail -F /var/log/php/error.log'
'proboci/ubuntu:18.04-php7.0':
services:
cleanapache:
command: 'rm /var/run/apache2/apache2.pid'
memcached:
command: memcached -u memcache
mysql:
command: 'mysqld_safe'
redis:
command: 'redis-server'
solr:
command: '/opt/solr/bin/solr start -f -force'
varnish:
command: 'service varnish start'
apache:
command: '/usr/sbin/apache2ctl -D FOREGROUND'
port: 80
php_log:
command: 'tail -F /var/log/php/error.log'
'proboci/ubuntu:18.04-php7.1':
services:
cleanapache:
command: 'rm /var/run/apache2/apache2.pid'
memcached:
command: memcached -u memcache
mysql:
command: 'mysqld_safe'
redis:
command: 'redis-server'
solr:
command: '/opt/solr/bin/solr start -f -force'
varnish:
command: 'service varnish start'
apache:
command: '/usr/sbin/apache2ctl -D FOREGROUND'
port: 80
php_log:
command: 'tail -F /var/log/php/error.log'
'proboci/ubuntu:18.04-php7.2':
services:
cleanapache:
command: 'rm /var/run/apache2/apache2.pid'
memcached:
command: memcached -u memcache
mysql:
command: 'mysqld_safe'
redis:
command: 'redis-server'
solr:
command: '/opt/solr/bin/solr start -f -force'
varnish:
command: 'service varnish start'
apache:
command: '/usr/sbin/apache2ctl -D FOREGROUND'
port: 80
php_log:
command: 'tail -F /var/log/php/error.log'
'proboci/ubuntu:18.04-php7.3':
services:
cleanapache:
command: 'rm /var/run/apache2/apache2.pid'
apache:
command: '/usr/sbin/apache2ctl -D FOREGROUND'
port: 80
memcached:
command: memcached -u memcache
mysql:
command: 'mysqld_safe'
redis:
command: 'redis-server'
solr:
command: '/opt/solr/bin/solr start -f -force'
varnish:
command: 'service varnish start'
php_log:
command: 'tail -F /var/log/php/error.log'
'proboci/ubuntu:18.04-php7.4':
services:
cleanapache:
command: 'rm /var/run/apache2/apache2.pid'
apache:
command: '/usr/sbin/apache2ctl -D FOREGROUND'
port: 80
memcached:
command: memcached -u memcache
mysql:
command: 'mysqld_safe'
redis:
command: 'redis-server'
solr:
command: '/opt/solr/bin/solr start -f -force'
varnish:
command: 'service varnish start'
php_log:
command: 'tail -F /var/log/php/error.log'
'proboci/ubuntu:18.04-php8.0':
services:
cleanapache:
command: 'rm /var/run/apache2/apache2.pid'
memcached:
command: memcached -u memcache
mysql:
command: 'mysqld_safe'
redis:
command: 'redis-server'
solr:
command: '/opt/solr/bin/solr start -f -force'
varnish:
command: 'service varnish start'
apache:
command: '/usr/sbin/apache2ctl -D FOREGROUND'
port: 80
php_log:
command: 'tail -F /var/log/php/error.log'
'proboci/ubuntu:18.04-php8.1':
services:
cleanapache:
command: 'rm /var/run/apache2/apache2.pid'
memcached:
command: memcached -u memcache
mysql:
command: 'mysqld_safe'
redis:
command: 'redis-server'
solr:
command: '/opt/solr/bin/solr start -f -force'
varnish:
command: 'service varnish start'
apache:
command: '/usr/sbin/apache2ctl -D FOREGROUND'
port: 80
php_log:
command: 'tail -F /var/log/php/error.log'
'proboci/ubuntu:20.04-php8.0':
services:
cleanapache:
command: 'rm /var/run/apache2/apache2.pid'
memcached:
command: memcached -u memcache
mysql:
command: 'mysqld_safe'
redis:
command: 'redis-server'
solr:
command: '/opt/solr/bin/solr start -f -force'
varnish:
command: 'service varnish start'
apache:
command: '/usr/sbin/apache2ctl -D FOREGROUND'
port: 80
php_log:
command: 'tail -F /var/log/php/error.log'
'proboci/ubuntu:20.04-php7.4':
services:
cleanapache:
command: 'rm /var/run/apache2/apache2.pid'
memcached:
command: memcached -u memcache
mysql:
command: 'mysqld_safe'
redis:
command: 'redis-server'
solr:
command: '/opt/solr/bin/solr start -f -force'
varnish:
command: 'service varnish start'
apache:
command: '/usr/sbin/apache2ctl -D FOREGROUND'
port: 80
php_log:
command: 'tail -F /var/log/php/error.log'
'proboci/ubuntu:20.04-php8.1':
services:
cleanapache:
command: 'rm /var/run/apache2/apache2.pid'
memcached:
command: memcached -u memcache
mysql:
command: 'mysqld_safe'
redis:
command: 'redis-server'
solr:
command: '/opt/solr/bin/solr start -f -force'
varnish:
command: 'service varnish start'
apache:
command: '/usr/sbin/apache2ctl -D FOREGROUND'
port: 80
php_log:
command: 'tail -F /var/log/php/error.log'
dataDir: './container-manager-data'
# Volumes to mount into created containers.
binds: []
# Settings for the github handler
# port
githubWebhookPath: '/github-webhook'
githubWebhookSecret: 'CHANGE-ME'
# This is temporary, we will need a proper oauth system to get the tokens that should be used.
githubAPIToken: 'personal token here'
# Settings for the API or Container Manager server
# port
api:
url: 'http://localhost:3000'
token: 'API token here'
# loom (log aggregator server)
loom:
url: 'http://localhost:3060'
token: 'API token here'
# asset server (must NOT be localhost because it's called from within container)
assets:
url: 'http://localhost:3070'
token: 'API token here'
# auth credentials service (i.e., for stash)
auth:
url: 'http://localhost:3000/auth_lookup'
# buildsEventStream:
# # currently supported plugins are: Kafka and Memory
# plugin: 'Memory'
# currently supported plugins are: Kafka and Memory
buildsEventStream:
plugin: Kafka
config:
# DEPRECATED CONFIGURATIONS
version: 1
kafkaClientOptions:
connectionString: 'localhost:9092'
# New required configurations in Probo Eventbus
clientId: proboci
groupId: coordinator
consumerTopic: build_events
topics:
event: build_events
email: email
error: error
step: step
brokers:
- 'localhost:9092'