Skip to content

Commit

Permalink
Add deploy to ecs job
Browse files Browse the repository at this point in the history
  • Loading branch information
wyhong3103 committed Feb 18, 2024
1 parent 3fab393 commit def50e4
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions backend/task-definition.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"family": "sudoku-recognition",
"containerDefinitions": [
{
"name": "sudoku-recognition",
"image": "445845167593.dkr.ecr.ap-southeast-2.amazonaws.com/sudoku-recognition:3fab393334f5abbc56cad23343fd1f1f0f1b2095",
"cpu": 0,
"portMappings": [
{
"name": "sudoku-recognition-3030-tcp",
"containerPort": 3030,
"hostPort": 3030,
"protocol": "tcp",
"appProtocol": "http"
}
],
"essential": true,
"environment": [],
"environmentFiles": [],
"mountPoints": [],
"volumesFrom": [],
"ulimits": [],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-create-group": "true",
"awslogs-group": "/ecs/sudoku-recognition",
"awslogs-region": "ap-southeast-2",
"awslogs-stream-prefix": "ecs"
},
"secretOptions": []
}
}
],
"executionRoleArn": "arn:aws:iam::445845167593:role/ecsTaskExecutionRole",
"networkMode": "bridge",
"requiresCompatibilities": [
"EC2"
],
"cpu": "1024",
"memory": "922",
"runtimePlatform": {
"cpuArchitecture": "X86_64",
"operatingSystemFamily": "LINUX"
}
}

0 comments on commit def50e4

Please sign in to comment.