There was an error while loading. Please reload this page.
2 parents 8b7ed1d + 2e12987 commit 27b2b2eCopy full SHA for 27b2b2e
nginx/nginx.json renamed to nginx/nginx_ec2.json
@@ -1,4 +1,7 @@
1
{
2
+ "requiresCompatibilities": [
3
+ "EC2"
4
+ ],
5
"containerDefinitions": [
6
7
"name": "nginx",
nginx/nginx_fargate.json
@@ -0,0 +1,27 @@
+{
+ "FARGATE"
+ "containerDefinitions": [
+ {
+ "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