-
Notifications
You must be signed in to change notification settings - Fork 0
/
marathon.yaml
42 lines (42 loc) · 894 Bytes
/
marathon.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
{
"id": "/letsencrypt",
"instances": 1,
"cpus": 0.25,
"mem": 128,
"disk": 0,
"gpus": 0,
"requirePorts": false,
"container": {
"type": "DOCKER",
"docker": {
"image": "meetri/dehydrated-dcos:latest",
"network": "USER",
"privileged": false,
"forcePullImage": true
},
"volumes": [
{
"containerPath": "/certs",
"hostPath": "/opt/data/certs",
"mode": "RW"
},
{
"containerPath": "/etc/boto.cfg",
"hostPath": "/etc/boto.cfg",
"mode": "RO"
}
]
},
"backoffFactor": 1.5,
"backoffSeconds": 5,
"maxLaunchDelaySeconds": 3600,
"constraints": [
["hostname", "CLUSTER", "10.20.50.100"]
],
"acceptedResourceRoles": [
"slave_public"
],
"env": {
"DOMAINS":"mydomain.com beta.mydomain.com;mydomain2.com www.mydomain2.com beta.mydomain2.com"
}
}