yohobuywap-node-template.json
1.8 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"containerDefinitions": [
{
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "yohobuywap-log",
"awslogs-region": "cn-north-1",
"awslogs-stream-prefix": "yohobuywap"
}
},
"portMappings": [
{
"hostPort": 6001,
"protocol": "tcp",
"containerPort": 6001
}
],
"cpu": 400,
"environment": [
{
"name": "NODE_ENV",
"value": "production"
}
],
"ulimits": [
{
"name": "cpu",
"softLimit": 300,
"hardLimit": 400
}
],
"mountPoints": [],
"memory": 900,
"memoryReservation": 700,
"volumesFrom": [],
"image": "860721417875.dkr.ecr.cn-north-1.amazonaws.com.cn/%IMAGE_VERSION%",
"essential": true,
"readonlyRootFilesystem": false,
"privileged": false,
"name": "yohobuywap-node"
},
{
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "yohobuywap-log",
"awslogs-region": "cn-north-1",
"awslogs-stream-prefix": "nginx"
}
},
"portMappings": [
{
"hostPort": 80,
"protocol": "tcp",
"containerPort": 80
}
],
"cpu": 300,
"environment": [],
"mountPoints": [],
"memory": 701,
"memoryReservation": 301,
"volumesFrom": [],
"image": "860721417875.dkr.ecr.cn-north-1.amazonaws.com.cn/yoho-online/nginx-yohobuywap:2018122578",
"essential": true,
"name": "nginx-yohobuywap"
}
],
"memory": "1800",
"taskRoleArn": "",
"family": "yohobuywap-node",
"networkMode": "awsvpc",
"cpu": "900",
"volumes": [],
"placementConstraints": []
}