-
Notifications
You must be signed in to change notification settings - Fork 1
/
marathon.json
56 lines (56 loc) · 1.72 KB
/
marathon.json
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
{
"id": "/sys/jenkins",
"instances": 1,
"cpus": 0.2,
"mem": 1024,
"disk": 0,
"requirePorts": false,
"backoffSeconds": 1,
"backoffFactor": 1.15,
"maxLaunchDelaySeconds": 3600,
"labels": {
"owner": "sys"
},
"container": {
"type": "DOCKER",
"docker": {
"image": "katosys/jenkins:v2.19-1",
"network": "BRIDGE",
"portMappings": [
{ "containerPort": 80, "hostPort": 0 }
],
"privileged": false,
"parameters": [
{ "key": "env", "value": "JENKINS_HTTPPORT=80" },
{ "key": "env", "value": "JENKINS_AJP13PORT=-1" },
{ "key": "env", "value": "JENKINS_SYSTEM_MESSAGE=Operations" },
{ "key": "env", "value": "JENKINS_ADMIN_EMAIL=nobody@nowhere" },
{ "key": "env", "value": "JENKINS_DOMAIN=marathon" },
{ "key": "env", "value": "MESOS_MASTER=zk://quorum-1:2181,quorum-2:2181,quorum-3:2181/mesos" },
{ "key": "env", "value": "MESOS_FRAMEWORK_NAME=sys-jenkins" },
{ "key": "env", "value": "MESOS_CHECKPOINT=true" },
{ "key": "env", "value": "MESOS_ON_DEMAND_REGISTRATION=true" },
{ "key": "env", "value": "MESOS_IDLE_TERMINATION_MINUTES=5" },
{ "key": "env", "value": "SSL_TRUST=bitbucket-sys.marathon:443" },
{ "key": "volume-driver", "value": "rexray" },
{ "key": "volume", "value": "cell-1-dub-sys-jenkins:/var/lib/jenkins" }
],
"forcePullImage": false
}
},
"healthChecks": [
{
"gracePeriodSeconds": 120,
"intervalSeconds": 30,
"maxConsecutiveFailures": 3,
"path": "/",
"portIndex": 0,
"protocol": "HTTP",
"timeoutSeconds": 5
}
],
"upgradeStrategy": {
"minimumHealthCapacity": 0,
"maximumOverCapacity": 1
}
}