Skip to content

Commit 96ae2ac

Browse files
committed
task-definition for prod
1 parent 7035094 commit 96ae2ac

File tree

1 file changed

+83
-0
lines changed

1 file changed

+83
-0
lines changed

task-definition-prod.json

+83
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
{
2+
"containerDefinitions": [
3+
{
4+
"name": "frontend",
5+
"image": "518013201776.dkr.ecr.ap-northeast-2.amazonaws.com/pyconkr-2023/frontend:prod",
6+
"cpu": 0,
7+
"portMappings": [
8+
{
9+
"name": "frontend-3000-tcp",
10+
"containerPort": 3000,
11+
"hostPort": 3000,
12+
"protocol": "tcp",
13+
"appProtocol": "http"
14+
}
15+
],
16+
"essential": true,
17+
"environment": [],
18+
"environmentFiles": [],
19+
"mountPoints": [],
20+
"volumesFrom": [],
21+
"logConfiguration": {
22+
"logDriver": "awslogs",
23+
"options": {
24+
"awslogs-create-group": "true",
25+
"awslogs-group": "/ecs/pyconkr2023-frontend",
26+
"awslogs-region": "ap-northeast-2",
27+
"awslogs-stream-prefix": "ecs"
28+
}
29+
}
30+
}
31+
],
32+
"family": "pyconkr2023-frontend",
33+
"taskRoleArn": "arn:aws:iam::518013201776:role/ecsTaskExecutionRole",
34+
"executionRoleArn": "arn:aws:iam::518013201776:role/ecsTaskExecutionRole",
35+
"networkMode": "awsvpc",
36+
"revision": 1,
37+
"volumes": [],
38+
"status": "ACTIVE",
39+
"requiresAttributes": [
40+
{
41+
"name": "com.amazonaws.ecs.capability.logging-driver.awslogs"
42+
},
43+
{
44+
"name": "ecs.capability.execution-role-awslogs"
45+
},
46+
{
47+
"name": "com.amazonaws.ecs.capability.ecr-auth"
48+
},
49+
{
50+
"name": "com.amazonaws.ecs.capability.docker-remote-api.1.19"
51+
},
52+
{
53+
"name": "com.amazonaws.ecs.capability.task-iam-role"
54+
},
55+
{
56+
"name": "ecs.capability.execution-role-ecr-pull"
57+
},
58+
{
59+
"name": "com.amazonaws.ecs.capability.docker-remote-api.1.18"
60+
},
61+
{
62+
"name": "ecs.capability.task-eni"
63+
},
64+
{
65+
"name": "com.amazonaws.ecs.capability.docker-remote-api.1.29"
66+
}
67+
],
68+
"placementConstraints": [],
69+
"compatibilities": [
70+
"EC2",
71+
"FARGATE"
72+
],
73+
"requiresCompatibilities": [
74+
"FARGATE"
75+
],
76+
"cpu": "1024",
77+
"memory": "2048",
78+
"runtimePlatform": {
79+
"cpuArchitecture": "X86_64",
80+
"operatingSystemFamily": "LINUX"
81+
},
82+
"tags": []
83+
}

0 commit comments

Comments
 (0)