-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdcos.json
37 lines (37 loc) · 825 Bytes
/
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
{
"id": "/mongodb/rs0",
"instances": 3,
"cpus": 1.0,
"mem": 2048,
"env": {
"ochopod_cluster": "mongodb_cluster",
"ochopod_namespace": "mongodb.rs0",
"CACHE_SIZE_GB": "1",
"REPLSET_NAME": "rs0"
},
"container": {
"type": "DOCKER",
"docker": {
"network": "BRIDGE",
"image": "ankurcha/marathon-ec2-mongodb-replicaset:latest",
"forcePullImage": true,
"portMappings": [
{ "containerPort": 27018 },
{ "containerPort": 8080 }
]
},
"volumes":[
{"containerPath": "/etc/mesos", "hostPath": "/etc/mesos", "mode": "RO"}
]
},
"healthChecks": [
{
"portIndex": 0,
"protocol": "TCP",
"gracePeriodSeconds": 120,
"intervalSeconds": 20,
"timeoutSeconds": 10,
"maxConsecutiveFailures": 0
}
]
}