Skip to content

Commit

Permalink
fix: 컨테이너 포트 매핑 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
IjjS committed Mar 15, 2024
1 parent 3587005 commit 05baa62
Showing 1 changed file with 85 additions and 85 deletions.
170 changes: 85 additions & 85 deletions .aws/masilgasil-ecs-task-prod-revision1.json
Original file line number Diff line number Diff line change
@@ -1,90 +1,90 @@
{
"taskDefinitionArn": "arn:aws:ecs:ap-northeast-2:533267244952:task-definition/masilgasil-ecs-task-prod:1",
"containerDefinitions": [
"taskDefinitionArn": "arn:aws:ecs:ap-northeast-2:533267244952:task-definition/masilgasil-ecs-task-prod:1",
"containerDefinitions": [
{
"name": "masilgasil-ecs-container-prod",
"image": "533267244952.dkr.ecr.ap-northeast-2.amazonaws.com/masilgasil-ecr-private:latest",
"cpu": 2048,
"memory": 4096,
"portMappings": [
{
"name": "masilgasil-ecs-container-prod",
"image": "533267244952.dkr.ecr.ap-northeast-2.amazonaws.com/masilgasil-ecr-private:latest",
"cpu": 2048,
"memory": 4096,
"portMappings": [
{
"name": "masilgasil-ecs-container-port",
"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/masilgasil-ecs-task-prod",
"awslogs-region": "ap-northeast-2",
"awslogs-stream-prefix": "ecs"
},
"secretOptions": []
},
"systemControls": []
"name": "masilgasil-ecs-container-port",
"containerPort": 8080,
"hostPort": 8080,
"protocol": "tcp",
"appProtocol": "http"
}
],
"family": "masilgasil-ecs-task-prod",
"taskRoleArn": "arn:aws:iam::533267244952:role/ecsTaskExecutionRole",
"executionRoleArn": "arn:aws:iam::533267244952:role/ecsTaskExecutionRole",
"networkMode": "awsvpc",
"revision": 1,
"volumes": [],
"status": "ACTIVE",
"requiresAttributes": [
{
"name": "com.amazonaws.ecs.capability.logging-driver.awslogs"
},
{
"name": "ecs.capability.execution-role-awslogs"
},
{
"name": "com.amazonaws.ecs.capability.ecr-auth"
},
{
"name": "com.amazonaws.ecs.capability.docker-remote-api.1.19"
},
{
"name": "com.amazonaws.ecs.capability.task-iam-role"
},
{
"name": "ecs.capability.execution-role-ecr-pull"
},
{
"name": "com.amazonaws.ecs.capability.docker-remote-api.1.18"
},
{
"name": "ecs.capability.task-eni"
],
"essential": true,
"environment": [],
"environmentFiles": [],
"mountPoints": [],
"volumesFrom": [],
"ulimits": [],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-create-group": "true",
"awslogs-group": "/ecs/masilgasil-ecs-task-prod",
"awslogs-region": "ap-northeast-2",
"awslogs-stream-prefix": "ecs"
},
{
"name": "com.amazonaws.ecs.capability.docker-remote-api.1.29"
}
],
"placementConstraints": [],
"compatibilities": [
"EC2",
"FARGATE"
],
"requiresCompatibilities": [
"FARGATE"
],
"cpu": "2048",
"memory": "4096",
"runtimePlatform": {
"cpuArchitecture": "X86_64",
"operatingSystemFamily": "LINUX"
"secretOptions": []
},
"systemControls": []
}
],
"family": "masilgasil-ecs-task-prod",
"taskRoleArn": "arn:aws:iam::533267244952:role/ecsTaskExecutionRole",
"executionRoleArn": "arn:aws:iam::533267244952:role/ecsTaskExecutionRole",
"networkMode": "awsvpc",
"revision": 1,
"volumes": [],
"status": "ACTIVE",
"requiresAttributes": [
{
"name": "com.amazonaws.ecs.capability.logging-driver.awslogs"
},
{
"name": "ecs.capability.execution-role-awslogs"
},
{
"name": "com.amazonaws.ecs.capability.ecr-auth"
},
{
"name": "com.amazonaws.ecs.capability.docker-remote-api.1.19"
},
{
"name": "com.amazonaws.ecs.capability.task-iam-role"
},
{
"name": "ecs.capability.execution-role-ecr-pull"
},
{
"name": "com.amazonaws.ecs.capability.docker-remote-api.1.18"
},
{
"name": "ecs.capability.task-eni"
},
"registeredAt": "2024-03-14T17:22:03.151Z",
"registeredBy": "arn:aws:iam::533267244952:user/team-01",
"tags": []
}
{
"name": "com.amazonaws.ecs.capability.docker-remote-api.1.29"
}
],
"placementConstraints": [],
"compatibilities": [
"EC2",
"FARGATE"
],
"requiresCompatibilities": [
"FARGATE"
],
"cpu": "2048",
"memory": "4096",
"runtimePlatform": {
"cpuArchitecture": "X86_64",
"operatingSystemFamily": "LINUX"
},
"registeredAt": "2024-03-14T17:22:03.151Z",
"registeredBy": "arn:aws:iam::533267244952:user/team-01",
"tags": []
}

0 comments on commit 05baa62

Please sign in to comment.