Skip to content

Commit

Permalink
fix: task definition 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
BaeJinho4028 committed Dec 3, 2024
1 parent 263a46d commit 4e11987
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
10 changes: 6 additions & 4 deletions oatnote-be-prod-family-revision.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
{
"name": "oatnote-be-prod-container",
"image": "905418277583.dkr.ecr.ap-northeast-2.amazonaws.com/oatnote-be/prod:${IMAGE_TAG}",
"cpu": 2048,
"memory": 5120,
"cpu": 1024,
"memory": 2048,
"portMappings": [
{
"containerPort": 8080,
Expand All @@ -18,6 +18,8 @@
"logDriver": "awslogs",
"options": {
"awslogs-group": "/ecs/oatnote-be-prod-family",
"mode": "non-blocking",
"max-buffer-size": "25m",
"awslogs-region": "ap-northeast-2",
"awslogs-stream-prefix": "ecs"
}
Expand All @@ -30,6 +32,6 @@
"requiresCompatibilities": [
"FARGATE"
],
"cpu": "2048",
"memory": "5120"
"cpu": "1024",
"memory": "2048"
}
11 changes: 7 additions & 4 deletions oatnote-be-stage-family-revision.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@
{
"name": "oatnote-be-stage-container",
"image": "905418277583.dkr.ecr.ap-northeast-2.amazonaws.com/oatnote-be/stage:${IMAGE_TAG}",
"cpu": 2048,
"memory": 5120,
"cpu": 1024,
"memory": 2048,
"portMappings": [
{
"containerPort": 8080,
"hostPort": 8080,
"protocol": "tcp"
}
],
Expand All @@ -17,6 +18,8 @@
"logDriver": "awslogs",
"options": {
"awslogs-group": "/ecs/oatnote-be-stage-family",
"mode": "non-blocking",
"max-buffer-size": "25m",
"awslogs-region": "ap-northeast-2",
"awslogs-stream-prefix": "ecs"
}
Expand All @@ -29,6 +32,6 @@
"requiresCompatibilities": [
"FARGATE"
],
"cpu": "2048",
"memory": "5120"
"cpu": "1024",
"memory": "2048"
}

0 comments on commit 4e11987

Please sign in to comment.