Skip to content

Commit

Permalink
Create task-definition.json
Browse files Browse the repository at this point in the history
  • Loading branch information
wailinoo1 authored Feb 8, 2024
1 parent 085add1 commit ca6ed8b
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions .aws/task-definition.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"family": "node",
"containerDefinitions": [
{
"name": "node",
"image": "896836667748.dkr.ecr.ap-southeast-1.amazonaws.com/wlo-node:7811633309",
"cpu": 0,
"portMappings": [
{
"name": "nodejs-8080",
"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/node",
"awslogs-region": "ap-southeast-1",
"awslogs-stream-prefix": "ecs"
},
"secretOptions": []
}
}
],
"taskRoleArn": "arn:aws:iam::896836667748:role/ecsTaskExecutionRole",
"executionRoleArn": "arn:aws:iam::896836667748:role/ecsTaskExecutionRole",
"networkMode": "awsvpc",
"requiresCompatibilities": [
"FARGATE"
],
"cpu": "1024",
"memory": "3072",
"runtimePlatform": {
"cpuArchitecture": "X86_64",
"operatingSystemFamily": "LINUX"
}
}

0 comments on commit ca6ed8b

Please sign in to comment.