-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathecs.json
62 lines (62 loc) · 1.89 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"services": [
{
"cluster": "datacamp-services",
"serviceName": "rdoc-app",
"serviceProtocol": "none",
"desiredCount": 1,
"deployment": {
"parameters": {
"slackChannel": "comm-deploys",
"customMessage": "Deploying ${CIRCLE_BUILD_URL}"
}
},
"loadBalancer": "datacamp-rdocumentation",
"containers": [
{
"containerName": "rdoc-app",
"containerURI": "708371444347.dkr.ecr.us-east-1.amazonaws.com/rdoc-app:${CIRCLE_SHA1}",
"containerPort": 1337,
"memoryReservation": 256,
"essential": true,
"healthCheck": {
"command": [
"CMD-SHELL",
"curl -f http://localhost:1337/status || exit 1"
],
"interval": 60,
"startPeriod": 120
},
"dockerLabels": {
"com.datadoghq.ad.instances": "[{ \"name\": \"service_check\", \"url\": \"http://%%host%%:%%port%%/status\", \"tags\": [\"service:rdoc-app\"], \"allow_redirects\": false }]",
"com.datadoghq.ad.check_names": "[\"http_check\"]",
"com.datadoghq.ad.init_configs": "[{}]"
}
}
]
},
{
"cluster": "datacamp-services",
"serviceName": "rdoc-app-worker",
"serviceProtocol": "none",
"desiredCount": 1,
"loadBalancer": "datacamp-services-internal",
"containers": [
{
"containerName": "rdoc-app-worker",
"containerURI": "708371444347.dkr.ecr.us-east-1.amazonaws.com/rdoc-app:${CIRCLE_SHA1}",
"containerPort": 1337,
"memoryReservation": 4000,
"cpu": 256,
"essential": true
},
{
"containerName": "rdoc-app-sqsd",
"containerURI": "filipsch/sqsd:latest",
"memoryReservation": 128,
"essential": true
}
]
}
]
}