-
Notifications
You must be signed in to change notification settings - Fork 1
/
marathon.json
45 lines (45 loc) · 1 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
{
"id": "/sys/bitbucket",
"instances": 1,
"cpus": 0.2,
"mem": 2048,
"disk": 0,
"requirePorts": false,
"backoffSeconds": 1,
"backoffFactor": 1.15,
"maxLaunchDelaySeconds": 3600,
"labels": {
"owner": "sys"
},
"container": {
"type": "DOCKER",
"docker": {
"image": "quay.io/kato/bitbucket:v4.5.2-1",
"network": "BRIDGE",
"portMappings": [
{ "containerPort": 80, "hostPort": 0 }
],
"privileged": false,
"parameters": [
{ "key": "volume-driver", "value": "rexray" },
{ "key": "volume", "value": "cell-1-dub-sys-bitbucket:/var/atlassian/application-data/bitbucket:rw" }
],
"forcePullImage": false
}
},
"healthChecks": [
{
"gracePeriodSeconds": 120,
"intervalSeconds": 30,
"maxConsecutiveFailures": 3,
"path": "/",
"portIndex": 0,
"protocol": "HTTP",
"timeoutSeconds": 5
}
],
"upgradeStrategy": {
"minimumHealthCapacity": 0,
"maximumOverCapacity": 1
}
}