Skip to content

Commit 2e12987

Browse files
committed
Add Nginx task definition for Fargate
This patch adds Nginx task definition for Fargate.
1 parent b97caa1 commit 2e12987

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

nginx/nginx_fargate.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"requiresCompatibilities": [
3+
"FARGATE"
4+
],
5+
"containerDefinitions": [
6+
{
7+
"name": "nginx",
8+
"image": "nginx:latest",
9+
"memory": "256",
10+
"cpu": "256",
11+
"essential": true,
12+
"portMappings": [
13+
{
14+
"containerPort": 80,
15+
"protocol": "tcp"
16+
}
17+
],
18+
"logConfiguration": null
19+
}
20+
],
21+
"volumes": [],
22+
"networkMode": "awsvpc",
23+
"placementConstraints": [],
24+
"family": "nginx",
25+
"memory": "512",
26+
"cpu": "256"
27+
}

0 commit comments

Comments
 (0)