-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathtaskdef-uat.json
39 lines (39 loc) · 1.22 KB
/
taskdef-uat.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
{
"family": "CC-Server-UAT",
"networkMode": "awsvpc",
"containerDefinitions": [
{
"name": "CC-UAT-container",
"image": "245866473499.dkr.ecr.ap-southeast-2.amazonaws.com/cc-backend-dockerimage-repo:{{imageID}}",
"portMappings": [
{
"containerPort": 8080,
"hostPort": 8080,
"protocol": "tcp"
}
],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-create-group": "true",
"awslogs-group": "awslogs-courtcanva",
"awslogs-region": "ap-southeast-2",
"awslogs-stream-prefix": "ecs-cc-uat"
}
},
"environmentFiles": [
{
"value": "arn:aws:s3:::cc-environment-variables/ccs/ccsuat.env",
"type": "s3"
}
],
"essential": true
}
],
"requiresCompatibilities": [
"FARGATE"
],
"cpu": "1vCPU",
"memory": "2GB",
"executionRoleArn": "arn:aws:iam::245866473499:role/myEcsTaskExecutionRole"
}