-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathecs.json
30 lines (30 loc) · 914 Bytes
/
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
{
"cluster": "${CLUSTER}",
"serviceName": "${SERVICE}",
"servicePort": 3000,
"serviceProtocol": "none",
"desiredCount": ${DESIRED_COUNT},
"containers": [
{
"containerName": "${SERVICE}",
"containerImage": "ast-viewer",
"containerTag": "${CIRCLE_SHA1}",
"containerPort": 3000,
"memoryReservation": 350,
"cpu": 64,
"essential": true,
"healthCheck": {
"command": [
"CMD-SHELL",
"curl -f http://localhost:3000/ || exit 1"
],
"interval": 10
},
"dockerLabels": {
"com.datadoghq.ad.instances": "[{ \"name\": \"service_check\", \"url\": \"http://%%host%%:%%port%%/\", \"tags\": [\"service:${SERVICE}\"] }]",
"com.datadoghq.ad.check_names": "[\"http_check\"]",
"com.datadoghq.ad.init_configs": "[{}]"
}
}
]
}