forked from datacamp/rdocumentation-2.0
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ecs.json
41 lines (41 loc) · 1.21 KB
/
ecs.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
{
"cluster": "datacamp-services",
"serviceName": "rdocumentation",
"containers": [
{
"containerName": "rdocumentation",
"containerURI": "708371444347.dkr.ecr.us-east-1.amazonaws.com/rdocumentation-2.0:${CIRCLE_SHA1}",
"memoryReservation": 256,
"cpu": 64,
"essential": true,
"containerPort": 3000,
"healthCheck": {
"command": [
"CMD-SHELL",
"curl -f http://localhost:3000/ || exit 1"
],
"interval": 10,
"startPeriod": 30
},
"dockerLabels": {
"com.datadoghq.ad.instances": "[{ \"name\": \"service_check\", \"url\": \"http://%%host%%:%%port%%/\", \"tags\": [\"service:rdocumentation\"], \"allow_redirects\": false }]",
"com.datadoghq.ad.check_names": "[\"http_check\"]",
"com.datadoghq.ad.init_configs": "[{}]"
}
}
],
"deployment": {
"strategy": "rollout",
"parameters": {
"gracePeriod": 60,
"failureThreshold": 30,
"window": 240,
"interval": 10,
"slackChannel": "deploys",
"customMessage": "Deploying <https://github.com/datacamp/rdocumentation-2.0/tree/${CIRCLE_SHA1}|${CIRCLE_SHA1}>"
}
},
"serviceMesh": {
"enabled": true
}
}