Skip to content

Commit

Permalink
Create task-definition.json
Browse files Browse the repository at this point in the history
  • Loading branch information
tzafrirhn authored Mar 4, 2024
1 parent 462f88e commit 1032029
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions task-definition.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"family": "igpublisher-backend-prod",
"containerDefinitions": [
{
"name": "main",
"image": "339712696201.dkr.ecr.il-central-1.amazonaws.com/igpublisher-backend-prod:1.0.0",
"cpu": 0,
"portMappings": [
{
"name": "main-80-tcp",
"containerPort": 80,
"hostPort": 80,
"protocol": "tcp",
"appProtocol": "http"
}
],
"essential": true,
"environment": [],
"environmentFiles": [],
"mountPoints": [],
"volumesFrom": [],
"ulimits": [],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-create-group": "true",
"awslogs-group": "/ecs/igpublisher-backend-prod",
"awslogs-region": "il-central-1",
"awslogs-stream-prefix": "ecs"
},
"secretOptions": []
}
}
],
"executionRoleArn": "arn:aws:iam::339712696201:role/ecsTaskExecutionRole",
"networkMode": "awsvpc",
"requiresCompatibilities": [
"FARGATE"
],
"cpu": "256",
"memory": "512",
"runtimePlatform": {
"cpuArchitecture": "X86_64",
"operatingSystemFamily": "LINUX"
}
}

0 comments on commit 1032029

Please sign in to comment.