yohobuy-pc-template.json
1.55 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
{
"containerDefinitions": [
{
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "yohobuy-log",
"awslogs-region": "cn-north-1",
"awslogs-stream-prefix": "awslogs-example"
}
},
"portMappings": [
{
"hostPort": 6002,
"protocol": "tcp",
"containerPort": 6002
}
],
"cpu": 300,
"environment": [
{
"name": "NODE_ENV",
"value": "production"
}
],
"mountPoints": [],
"memoryReservation": 400,
"volumesFrom": [],
"image": "860721417875.dkr.ecr.cn-north-1.amazonaws.com.cn/%IMAGE_VERSION%",
"name": "yohobuy-pc"
},
{
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "yohobuy-log",
"awslogs-region": "cn-north-1",
"awslogs-stream-prefix": "awslogs-example"
}
},
"portMappings": [
{
"hostPort": 80,
"protocol": "tcp",
"containerPort": 80
}
],
"cpu": 400,
"environment": [],
"mountPoints": [],
"memoryReservation": 300,
"volumesFrom": [],
"image": "860721417875.dkr.ecr.cn-north-1.amazonaws.com.cn/yoho-online/yohobuy-pc-nginx:20190221",
"essential": true,
"name": "yohobuy-pc-nginx"
}
],
"memory": "1800",
"taskRoleArn": "",
"family": "yohobuy-pc",
"networkMode": "awsvpc",
"cpu": "900",
"volumes": [],
"placementConstraints": []
}