-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtaskdef.json
33 lines (33 loc) · 903 Bytes
/
taskdef.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
{
"family": "%TASK_FAMILY%",
"networkMode": "awsvpc",
"executionRoleArn": "%EXECUTION_ROLE_ARN%",
"containerDefinitions": [
{
"image": "%REPOSITORY_URI%/%SERVICE_NAME%:%TAG%",
"name": "%SERVICE_NAME%",
"cpu": 10,
"memory": 256,
"essential": true,
"portMappings": [
{
"containerPort": 80,
"protocol": "tcp"
}
],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "/ecs/%SERVICE_NAME%",
"awslogs-region": "us-east-1",
"awslogs-stream-prefix": "ecs"
}
}
}
],
"requiresCompatibilities": [
"FARGATE"
],
"cpu": "256",
"memory": "512"
}