-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathletsencrypt-dcos.json
51 lines (51 loc) · 1.16 KB
/
letsencrypt-dcos.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
{
"id": "/letsencrypt-dcos",
"cpus": 0.05,
"mem": 512,
"instances": 1,
"container": {
"type": "DOCKER",
"volumes": [
{
"containerPath": "/etc/letsencrypt",
"hostPath": "data",
"mode": "RW"
},
{
"containerPath": "data",
"mode": "RW",
"persistent": {
"size": 500
}
}
],
"docker": {
"forcePullImage": true,
"image": "dcoslabs/letsencrypt-dcos:v1.0.7",
"network": "BRIDGE",
"portMappings": [
{
"containerPort": 80,
"servicePort": 10000,
"protocol": "tcp"
}
]
}
},
"env": {
"MARATHON_LB_ID": "marathon-lb",
"MARATHON_URL": "http://marathon.mesos:8080",
"LETSENCRYPT_EMAIL": "matt@example.com",
"LETSENCRYPT_SERVER_URL": "https://acme-staging-v02.api.letsencrypt.org/directory"
},
"labels": {
"HAPROXY_0_VHOST": "ssl-test-1.example.com,ssl-test-2.example.com",
"HAPROXY_GROUP": "external",
"HAPROXY_0_PATH": "/.well-known/acme-challenge"
},
"backoffSeconds": 5,
"upgradeStrategy": {
"minimumHealthCapacity": 0.5,
"maximumOverCapacity": 0
}
}