Skip to content

Commit

Permalink
Update ecs-task-definition-match.json
Browse files Browse the repository at this point in the history
  • Loading branch information
chaeri93 authored Aug 2, 2024
1 parent c93574d commit 3f2aaa0
Showing 1 changed file with 25 additions and 84 deletions.
109 changes: 25 additions & 84 deletions .aws/ecs-task-definition-match.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,11 @@
{
"taskDefinitionArn": "arn:aws:ecs:ap-northeast-2:008971651785:task-definition/cloud6-match-server:9",
"containerDefinitions": [
{
"name": "match-conatiner",
"image": "008971651785.dkr.ecr.ap-northeast-2.amazonaws.com/cloud6-repository:latest",
"cpu": 0,
"portMappings": [
{
"name": "match-conatiner-8080-port",
"containerPort": 8080,
"hostPort": 8080,
"protocol": "tcp",
"appProtocol": "http"
}
],
"essential": true,
"name": "your-container-name",
"image": "your-image",
"memory": 512,
"cpu": 256,
"environment": [
{
"name": "REDIS_HOST",
"valueFrom": "arn:aws:secretsmanager:ap-northeast-2:008971651785:secret:Amazon_Elasticache-XIyfXn:REDIS_HOST::"
},
{
"name": "MATCH_SIZE",
"value": "3"
Expand Down Expand Up @@ -48,13 +34,19 @@
"name": "REDIS_PASSWORD",
"value": ""
},
{
"name": "DATASOURCE_USERNAME",
"valueFrom": "arn:aws:secretsmanager:ap-northeast-2:008971651785:secret:AWS_RDS-qt0eV5:username::"
},
{
"name": "REDIS_USERNAME",
"value": ""
}
],
"secrets": [
{
"name": "REDIS_HOST",
"valueFrom": "arn:aws:secretsmanager:ap-northeast-2:008971651785:secret:Amazon_Elasticache-XIyfXn:REDIS_HOST::"
},
{
"name": "DATASOURCE_USERNAME",
"valueFrom": "arn:aws:secretsmanager:ap-northeast-2:008971651785:secret:AWS_RDS-qt0eV5:username::"
},
{
"name": "DATASOURCE_URL",
Expand All @@ -65,70 +57,19 @@
"valueFrom": "arn:aws:secretsmanager:ap-northeast-2:008971651785:secret:AWS_RDS-qt0eV5:password::"
}
],
"environmentFiles": [],
"mountPoints": [],
"volumesFrom": [],
"ulimits": [],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "/ecs/cloud6-match-server",
"awslogs-create-group": "true",
"awslogs-region": "ap-northeast-2",
"awslogs-stream-prefix": "ecs"
},
"secretOptions": []
},
"systemControls": []
}
],
"family": "cloud6-match-server",
"executionRoleArn": "arn:aws:iam::008971651785:role/ecsTaskExecutionRole",
"networkMode": "awsvpc",
"revision": 9,
"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": "ecs.capability.execution-role-ecr-pull"
},
{
"name": "com.amazonaws.ecs.capability.docker-remote-api.1.18"
},
{
"name": "ecs.capability.task-eni"
},
{
"name": "com.amazonaws.ecs.capability.docker-remote-api.1.29"
"portMappings": [
{
"containerPort": 8080,
"hostPort": 8080
}
]
}
],
"placementConstraints": [],
"compatibilities": [
"EC2",
"FARGATE"
],
"family": "your-task-family",
"networkMode": "bridge",
"requiresCompatibilities": [
"FARGATE"
"EC2"
],
"cpu": "1024",
"memory": "3072",
"runtimePlatform": {
"cpuArchitecture": "ARM64",
"operatingSystemFamily": "LINUX"
},
"registeredAt": "2024-08-01T04:05:37.055Z",
"registeredBy": "arn:aws:iam::008971651785:user/chaeri9813",
"tags": []
"memory": "512",
"cpu": "256"
}

0 comments on commit 3f2aaa0

Please sign in to comment.