Repository navigation
Expand file tree
/
Copy pathtask-definition.json
More file actions
88 lines (88 loc) · 2.25 KB
/
Copy pathtask-definition.json
File metadata and controls
88 lines (88 loc) · 2.25 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"containerDefinitions": [
{
"name": "emerdy-app-container",
"image": "429176748143.dkr.ecr.ap-northeast-2.amazonaws.com/emerdy-app:latest",
"cpu": 970,
"memory": 1500,
"portMappings": [
{
"containerPort": 3000,
"hostPort": 3000,
"protocol": "tcp"
},
{
"containerPort": 3030,
"hostPort": 3030,
"protocol": "tcp"
}
],
"essential": true,
"entryPoint": [],
"command": [],
"environment": [],
"environmentFiles": [
{
"value": "arn:aws:s3:::emerdy-app-bucket/production.env",
"type": "s3"
}
],
"mountPoints": [],
"volumesFrom": [],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-create-group": "true",
"awslogs-group": "/ecs/emerdy-app-task",
"awslogs-region": "ap-northeast-2",
"awslogs-stream-prefix": "ecs"
}
}
},
{
"name": "reverse-proxy-container",
"image": "429176748143.dkr.ecr.ap-northeast-2.amazonaws.com/reverse-proxy:latest",
"cpu": 50,
"memory": 200,
"links": ["emerdy-app-container"],
"portMappings": [
{
"containerPort": 80,
"hostPort": 0,
"protocol": "tcp"
}
],
"essential": true,
"entryPoint": [],
"command": [],
"environment": [],
"mountPoints": [],
"volumesFrom": [],
"dependsOn": [
{
"containerName": "emerdy-app-container",
"condition": "START"
}
],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-create-group": "true",
"awslogs-group": "/ecs/emerdy-app-task",
"awslogs-region": "ap-northeast-2",
"awslogs-stream-prefix": "ecs"
}
}
}
],
"family": "emerdy-app-task",
"taskRoleArn": "arn:aws:iam::429176748143:role/AmazonECSTaskS3BucketRole",
"executionRoleArn": "arn:aws:iam::429176748143:role/ecsTaskExecutionRole",
"networkMode": "bridge",
"volumes": [],
"placementConstraints": [],
"requiresCompatibilities": ["EC2"],
"cpu": "1024",
"memory": "1950",
"tags": []
}