-
Notifications
You must be signed in to change notification settings - Fork 0
/
task-definition.json
48 lines (48 loc) · 1.22 KB
/
task-definition.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
{
"family": "hhplus-prod",
"containerDefinitions": [
{
"name": "service-prod",
"image": "654654182884.dkr.ecr.ap-northeast-2.amazonaws.com/hhplus-prod",
"cpu": 0,
"portMappings": [
{
"name": "service-prod-8080-tcp",
"containerPort": 8080,
"hostPort": 8080,
"protocol": "tcp",
"appProtocol": "http"
}
],
"essential": true,
"environment": [],
"environmentFiles": [],
"mountPoints": [],
"volumesFrom": [],
"ulimits": [],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-create-group": "true",
"awslogs-group": "/ecs/hhplus-prod",
"awslogs-region": "ap-northeast-2",
"awslogs-stream-prefix": "ecs"
},
"secretOptions": []
},
"systemControls": []
}
],
"taskRoleArn": "arn:aws:iam::654654182884:role/role-ecs-tasks",
"executionRoleArn": "arn:aws:iam::654654182884:role/role-ecs-tasks",
"networkMode": "awsvpc",
"requiresCompatibilities": [
"FARGATE"
],
"cpu": "512",
"memory": "1024",
"runtimePlatform": {
"cpuArchitecture": "X86_64",
"operatingSystemFamily": "LINUX"
}
}