File tree Expand file tree Collapse file tree 2 files changed +54
-3
lines changed
Expand file tree Collapse file tree 2 files changed +54
-3
lines changed Original file line number Diff line number Diff line change 1414 AWS_REGION : ap-northeast-2
1515 CONTAINER_NAME : main-container
1616 ECR_REPOSITORY : dulakreposiotry
17- ECS_CLUSTER : joyful-eagle-kco6mk
18- ECS_SERVICE : main-server-service-z4k60m2s
19- ECS_TASK_DEFINITION : main-server/main-server-revision1.json
17+ ECS_CLUSTER : happy-lion-zahji5
18+ ECS_SERVICE : main-server-ec2
19+ ECS_TASK_DEFINITION : main-server/main-server-ec2- revision1.json
2020 IMAGE_TAG : latest
2121
2222jobs :
Original file line number Diff line number Diff line change 1+ {
2+ "family" : " main-server-ec2" ,
3+ "networkMode" : " awsvpc" ,
4+ "requiresCompatibilities" : [" EC2" ],
5+ "cpu" : " 512" ,
6+ "memory" : " 1024" ,
7+ "runtimePlatform" : {
8+ "cpuArchitecture" : " X86_64" ,
9+ "operatingSystemFamily" : " LINUX"
10+ },
11+ "taskRoleArn" : " arn:aws:iam::814022331893:role/ecsTaskExecutionRole" ,
12+ "executionRoleArn" : " arn:aws:iam::814022331893:role/ecsTaskExecutionRole" ,
13+ "containerDefinitions" : [
14+ {
15+ "name" : " main-container" ,
16+ "image" : " 814022331893.dkr.ecr.ap-northeast-2.amazonaws.com/dulakreposiotry:latest" ,
17+ "cpu" : 0 ,
18+ "essential" : true ,
19+ "portMappings" : [
20+ {
21+ "containerPort" : 80 ,
22+ "hostPort" : 80 ,
23+ "protocol" : " tcp" ,
24+ "appProtocol" : " http"
25+ },
26+ {
27+ "containerPort" : 8083 ,
28+ "hostPort" : 8083 ,
29+ "protocol" : " tcp" ,
30+ "appProtocol" : " http"
31+ },
32+ {
33+ "containerPort" : 8080 ,
34+ "hostPort" : 8080 ,
35+ "protocol" : " tcp" ,
36+ "appProtocol" : " http"
37+ }
38+ ],
39+ "logConfiguration" : {
40+ "logDriver" : " awslogs" ,
41+ "options" : {
42+ "awslogs-group" : " /ecs/main-server" ,
43+ "awslogs-create-group" : " true" ,
44+ "awslogs-region" : " ap-northeast-2" ,
45+ "awslogs-stream-prefix" : " ecs"
46+ }
47+ }
48+ }
49+ ],
50+ "volumes" : []
51+ }
You canโt perform that action at this time.
0 commit comments