forked from kaspernissen/docs.humio.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
marathon.json
60 lines (60 loc) · 1.35 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
57
58
59
60
{
"container": {
"docker": {
"forcePullImage": true,
"image": "humio/docs:<<DRONE_BRANCH>>-<<DRONE_BUILD_NUMBER>>",
"privileged": false
},
"portMappings": [
{
"containerPort": 80,
"hostPort": 0,
"labels": {},
"protocol": "tcp",
"servicePort": 10101
}
],
"type": "MESOS",
"volumes": []
},
"cpus": 0.1,
"healthChecks": [
{
"delaySeconds": 15,
"gracePeriodSeconds": 300,
"intervalSeconds": 60,
"ipProtocol": "IPv4",
"maxConsecutiveFailures": 3,
"path": "/",
"portIndex": 0,
"protocol": "MESOS_HTTP",
"timeoutSeconds": 20
}
],
"id": "/humio/<<MARATHON_ID>>",
"instances": 2,
"killSelection": "YOUNGEST_FIRST",
"labels": {
"HAPROXY_0_REDIRECT_TO_HTTPS": "true",
"HAPROXY_0_USE_HSTS": "true",
"HAPROXY_0_VHOST": "<<MARATHON_ID>>.humio.com",
"HAPROXY_GROUP": "external",
"HUMIO_TYPE": "nginx-accesslog",
"HAPROXY_0_BACKEND_HSTS_OPTIONS": " rspadd Strict-Transport-Security:\\ max-age=63072000\n"
},
"mem": 128,
"networks": [
{
"mode": "container/bridge"
}
],
"requirePorts": false,
"unreachableStrategy": {
"expungeAfterSeconds": 0,
"inactiveAfterSeconds": 0
},
"upgradeStrategy": {
"maximumOverCapacity": 1,
"minimumHealthCapacity": 1
}
}