-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmarathon.json
97 lines (97 loc) · 1.94 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
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
{
"volumes": null,
"id": "/dns.ingglx",
"cmd": null,
"args": null,
"user": null,
"env": {
"PASS": "P3nf01d",
"NET": "172.17.0.0;192.168.0.0;10.1.2.0;192.168.65.60"
},
"instances": 1,
"cpus": 0.2,
"mem": 256,
"disk": 0,
"gpus": 0,
"executor": null,
"constraints": null,
"fetch": null,
"storeUrls": null,
"backoffSeconds": 1,
"backoffFactor": 1.15,
"maxLaunchDelaySeconds": 3600,
"container": {
"docker": {
"image": "ginolocoop/dns-server:latest",
"forcePullImage": false,
"privileged": false,
"network": "HOST"
},
"type": "DOCKER",
"volumes": [
{
"containerPath": "/etc/bind",
"hostPath": "/vagrant/bind_config/bind",
"mode": "RW"
},
{
"containerPath": "/etc/webmin",
"hostPath": "/vagrant/bind_config/webmin",
"mode": "RW"
},
{
"containerPath": "/var/lib/bind",
"hostPath": "/vagrant/bind_config/zones",
"mode": "RW"
}
]
},
"healthChecks": [
{
"protocol": "HTTP",
"path": "/",
"gracePeriodSeconds": 300,
"intervalSeconds": 60,
"timeoutSeconds": 10,
"maxConsecutiveFailures": 1,
"port": 10000,
"ignoreHttp1xx": false
}
],
"readinessChecks": null,
"dependencies": null,
"upgradeStrategy": {
"minimumHealthCapacity": 1,
"maximumOverCapacity": 1
},
"labels": {
"role": "dns",
"category": "secundary",
"location": "lisbon"
},
"acceptedResourceRoles": [
"slave_public"
],
"residency": null,
"secrets": null,
"taskKillGracePeriodSeconds": null,
"portDefinitions": [
{
"protocol": "udp,tcp",
"port": 53,
"labels": {
"VIP_0": "/dns.ingglx:53"
},
"name": "dns"
},
{
"protocol": "tcp",
"port": 10000,
"labels": {
"VIP_1": "/dns.ingglx:10000"
},
"name": "webadmin"
}
],
"requirePorts": false
}