forked from ProboCI/probo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefaults.yaml
99 lines (86 loc) · 3.04 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
# 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 cotnainer is not specified in the repository's configuration, use this one.
defaultImage: 'proboci/ubuntu-14.04-lamp'
# The default image used if none is specified.
image: 'proboci/ubuntu-14.04-lamp'
# The images used by the host manager
images:
'proboci/ubuntu-14.04-lamp':
services:
cleanapache:
command: 'rm /var/run/apache2/apache2.pid'
apache:
command: '/usr/sbin/apache2ctl -D FOREGROUND'
port: 80
mysql:
command: 'mysqld_safe'
redis:
command: 'redis-server'
solr:
command: '/opt/solr/start.sh'
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'
# buildsEventStream:
# # currently supported plugins are: Kafka and Memory
# plugin: 'Kafka'
# # config for kafaka; memory plugin doesn't need a config
# config:
# version: 1
# topic: build_events
# # see https://github.com/SOHU-Co/kafka-node#clientconnectionstring-clientid-zkoptions-noackbatchoptions
# # for available options
# kafkaClientOptions:
# connectionString: 'localhost:2181'