-
Notifications
You must be signed in to change notification settings - Fork 20
/
ecs_app_task_config_template.json
48 lines (48 loc) · 1.13 KB
/
ecs_app_task_config_template.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
{
"memory": "512",
"family": "app",
"placementConstraints": [],
"executionRoleArn": "arn:aws:iam::290492953667:role/ecs-role",
"volumes": [],
"requiresCompatibilities": ["EC2"],
"taskRoleArn": "arn:aws:iam::290492953667:role/ecs-role",
"containerDefinitions": [
{
"environment": [
{
"name": "ECS_ENABLE_TASK_IAM_ROLE",
"value": "true"
},
{
"name": "DEPLOYMENT_NAME",
"value": "ecsdev"
},
{
"name": "SERVER_HAS_S3_AUTH",
"value": "true"
}
],
"name": "app",
"mountPoints": [],
"image": "290492953667.dkr.ecr.ap-southeast-2.amazonaws.com/app:server_CIRCLE_SHA1",
"cpu": 0,
"portMappings": [
{
"protocol": "tcp",
"containerPort": 80,
"hostPort": 80
}
],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-region": "ap-southeast-2",
"awslogs-stream-prefix": "ecs",
"awslogs-group": "/ecs/app"
}
},
"essential": true,
"volumesFrom": []
}
]
}