-
Notifications
You must be signed in to change notification settings - Fork 134
/
Copy pathwildfly_ec2.json
42 lines (42 loc) · 1.12 KB
/
wildfly_ec2.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
39
40
41
42
{
"memory":"1024",
"networkMode":"awsvpc",
"cpu":"512",
"family":"wildfly",
"containerDefinitions": [
{
"cpu":512,
"memory":1024,
"portMappings": [
{
"hostPort": 8080,
"containerPort": 8080,
"protocol": "tcp"
},
{
"hostPort": 9990,
"containerPort": 9990,
"protocol": "tcp"
}
],
"essential": true,
"name": "wildfly",
"image": "jboss/wildfly",
"command": [
"/opt/jboss/wildfly/bin/standalone.sh",
"-bmanagement",
"0.0.0.0",
"-b",
"0.0.0.0"
],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "/ecs/wildfly",
"awslogs-region": "us-east-1",
"awslogs-stream-prefix": "ecs"
}
}
}
]
}