-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtask-definition.json
More file actions
39 lines (39 loc) · 940 Bytes
/
task-definition.json
File metadata and controls
39 lines (39 loc) · 940 Bytes
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
{
"family": "chatbot-demo-task",
"networkMode": "awsvpc",
"requiresCompatibilities": ["FARGATE"],
"cpu": "256",
"memory": "512",
"executionRoleArn": "arn:aws:iam::839404775617:role/ecsTaskExecutionRole",
"containerDefinitions": [
{
"name": "chatbot-demo-container",
"image": "839404775617.dkr.ecr.us-east-1.amazonaws.com/chatbot-demo:latest",
"portMappings": [
{
"containerPort": 3001,
"protocol": "tcp"
}
],
"essential": true,
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "/ecs/chatbot-demo",
"awslogs-region": "us-east-1",
"awslogs-stream-prefix": "ecs"
}
},
"environment": [
{
"name": "NODE_ENV",
"value": "production"
},
{
"name": "PORT",
"value": "3001"
}
]
}
]
}