Skip to content

Commit d71f495

Browse files
Merge pull request #15 from laironacosta/feature/deploy-to-aws-ecs
updating aws yml to deploy on ecs
2 parents 465d073 + bae9569 commit d71f495

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

task-definition.json

+4-9
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,15 @@
1414
"awslogs-stream-prefix": "ecs"
1515
}
1616
},
17-
"entryPoint": [
18-
"sh",
19-
"-c"
20-
],
17+
"entryPoint": [],
2118
"portMappings": [
2219
{
2320
"hostPort": 80,
2421
"protocol": "tcp",
2522
"containerPort": 80
2623
}
2724
],
28-
"command": [
29-
"/bin/sh -c \"echo '<html> <head> <title>Amazon ECS Sample App</title> <style>body {margin-top: 40px; background-color: #333;} </style> </head><body> <div style=color:white;text-align:center> <h1>Amazon ECS Sample App</h1> <h2>Congratulations!</h2> <p>Your application is now running on a container in Amazon ECS.</p> </div></body></html>' > /usr/local/apache2/htdocs/index.html && httpd-foreground\""
30-
],
25+
"command": [],
3126
"linuxParameters": null,
3227
"cpu": 256,
3328
"environment": [],
@@ -69,7 +64,7 @@
6964
"EC2",
7065
"FARGATE"
7166
],
72-
"taskDefinitionArn": "arn:aws:ecs:us-east-2:027479467189:task-definition/ms-gin-go-task-def:1",
67+
"taskDefinitionArn": "arn:aws:ecs:us-east-2:027479467189:task-definition/ms-gin-go-task-def:3",
7368
"family": "ms-gin-go-task-def",
7469
"requiresAttributes": [
7570
{
@@ -127,7 +122,7 @@
127122
],
128123
"networkMode": "awsvpc",
129124
"cpu": "256",
130-
"revision": 1,
125+
"revision": 3,
131126
"status": "ACTIVE",
132127
"inferenceAccelerators": null,
133128
"proxyConfiguration": null,

0 commit comments

Comments
 (0)