Skip to content

Commit

Permalink
added taskdef.json for mediator
Browse files Browse the repository at this point in the history
  • Loading branch information
KambleSahil3 committed Jun 5, 2024
1 parent 46e0777 commit 387df0e
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions taskdef/mediator-taskdef.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"family": "DEV_MEDIATOR_TASKDEFINITION",
"containerDefinitions": [
{
"name": "mediator",
"image": "%REPOSITORY_URI%:MEDIATOR_v_%BUILD_NUMBER%",
"cpu": 256,
"memory": 512,
"portMappings": [
{
"name": "mediator-3000-tcp",
"containerPort": 3000,
"hostPort": 3000,
"protocol": "tcp",
"appProtocol": "http"
}
],
"essential": true,
"environment": [],
"environmentFiles": [
{
"value": "${S3_ARN}",
"type": "s3"
}
],
"mountPoints": [],
"volumesFrom": [],
"ulimits": [],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-create-group": "true",
"awslogs-group": "/ecs/DEV_MEDIATOR_TASKDEFINITION",
"awslogs-region": "me-central-1",
"awslogs-stream-prefix": "ecs"
}
}
}

],

"executionRoleArn": "arn:aws:iam::${ACCOUNT_ID}:role/ecsTaskExecutionRole",
"networkMode": "awsvpc",
"placementConstraints": [],
"requiresCompatibilities": [
"FARGATE"
],
"cpu": "256",
"memory": "512"
}

0 comments on commit 387df0e

Please sign in to comment.