There was an error while loading. Please reload this page.
2 parents 43b6af9 + 1da800a commit 41f4018Copy full SHA for 41f4018
nginx/nginx_ec2.json
@@ -6,8 +6,8 @@
6
{
7
"name": "nginx",
8
"image": "nginx:latest",
9
- "memory": "256",
10
- "cpu": "256",
+ "memory": 256,
+ "cpu": 256,
11
"essential": true,
12
"portMappings": [
13
nginx/nginx_fargate.json
@@ -6,16 +6,23 @@
14
"containerPort": 80,
15
"protocol": "tcp"
16
}
17
],
18
- "logConfiguration": null
+ "logConfiguration":{
19
+ "logDriver":"awslogs",
20
+ "options":{
21
+ "awslogs-group":"awslogs-nginx-ecs",
22
+ "awslogs-region":"us-east-1",
23
+ "awslogs-stream-prefix":"ecs"
24
+ }
25
26
27
28
"volumes": [],
0 commit comments