-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathecs-task-def.json
More file actions
30 lines (30 loc) · 799 Bytes
/
Copy pathecs-task-def.json
File metadata and controls
30 lines (30 loc) · 799 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
{
"family": "python-microservice-task",
"networkMode": "awsvpc",
"requiresCompatibilities": ["FARGATE"],
"cpu": "256",
"memory": "512",
"executionRoleArn": "arn:aws:iam::583071199266:role/ecsTaskExecutionRole",
"containerDefinitions": [
{
"name": "python-microservice",
"image": "583071199266.dkr.ecr.us-east-1.amazonaws.com/python-microservice:latest",
"essential": true,
"portMappings": [
{
"containerPort": 5000,
"hostPort": 5000,
"protocol": "tcp"
}
],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "/ecs/python-microservice",
"awslogs-region": "us-east-1",
"awslogs-stream-prefix": "ecs"
}
}
}
]
}