forked from aws-samples/aws-containers-task-definitions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjetty_fargate.json
38 lines (38 loc) · 885 Bytes
/
jetty_fargate.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
"memory":"1024",
"networkMode":"awsvpc",
"cpu":"512",
"family":"jetty",
"requiresCompatibilities": [
"FARGATE"
],
"containerDefinitions":[
{
"portMappings":[
{
"hostPort":8080,
"containerPort":8080,
"protocol":"tcp"
},
{
"hostPort":8443,
"containerPort":8443,
"protocol":"tcp"
}
],
"essential":true,
"name":"jetty",
"image":"jetty",
"logConfiguration":{
"logDriver":"awslogs",
"options":{
"awslogs-group":"/ecs/jetty",
"awslogs-region":"us-east-1",
"awslogs-stream-prefix":"ecs"
}
},
"cpu":512,
"memoryReservation":1024
}
]
}