Skip to content

Commit

Permalink
Fix cpu and memory type
Browse files Browse the repository at this point in the history
  • Loading branch information
shri committed Aug 9, 2024
1 parent 005bc4d commit 4823ee5
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions deploy/aws/ecs-task-definition-prod.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
{
"name": "app",
"image": "050206582437.dkr.ecr.eu-central-1.amazonaws.com/chapter-app-prod:latest",
"cpu": 256,
"memory": 512,
"cpu": "256",
"memory": "512",
"essential": true,
"command": ["litestar", "run", "--host", "0.0.0.0"],
"dependsOn": [
Expand Down Expand Up @@ -105,8 +105,8 @@
{
"name": "db-migrator",
"image": "050206582437.dkr.ecr.eu-central-1.amazonaws.com/nectar:latest",
"cpu": 256,
"memory": 512,
"cpu": "256",
"memory": "512",
"essential": false,
"command": ["litestar", "database", "upgrade", "--no-prompt"],
"environment": [
Expand Down Expand Up @@ -186,8 +186,8 @@
{
"name": "worker",
"image": "050206582437.dkr.ecr.eu-central-1.amazonaws.com/chapter:latest",
"cpu": 256,
"memory": 512,
"cpu": "256",
"memory": "512",
"essential": false,
"command": ["litestar", "workers", "run"],
"environment": [
Expand Down Expand Up @@ -270,8 +270,8 @@
},
"networkMode": "awsvpc",
"requiresCompatibilities": ["FARGATE"],
"cpu": 1024,
"memory": 2048,
"cpu": "1024",
"memory": "2048",
"executionRoleArn": "arn:aws:iam::050206582437:role/chapter-app-ecs-task-execution-role-prod",
"taskRoleArn": "arn:aws:iam::050206582437:role/chapter-app-ecs-task-role-prod"
}

0 comments on commit 4823ee5

Please sign in to comment.