Showing
1 changed file
with
77 additions
and
0 deletions
1 | +{ | ||
2 | + "containerDefinitions": [ | ||
3 | + { | ||
4 | + "logConfiguration": { | ||
5 | + "logDriver": "awslogs", | ||
6 | + "options": { | ||
7 | + "awslogs-group": "yohobuywap-node-activity", | ||
8 | + "awslogs-region": "cn-north-1", | ||
9 | + "awslogs-stream-prefix": "yohobuywap-node-activity" | ||
10 | + } | ||
11 | + }, | ||
12 | + "portMappings": [ | ||
13 | + { | ||
14 | + "hostPort": 6001, | ||
15 | + "protocol": "tcp", | ||
16 | + "containerPort": 6001 | ||
17 | + } | ||
18 | + ], | ||
19 | + "cpu": 400, | ||
20 | + "environment": [ | ||
21 | + { | ||
22 | + "name": "NODE_ENV", | ||
23 | + "value": "production" | ||
24 | + } | ||
25 | + ], | ||
26 | + "ulimits": [ | ||
27 | + { | ||
28 | + "name": "cpu", | ||
29 | + "softLimit": 300, | ||
30 | + "hardLimit": 400 | ||
31 | + } | ||
32 | + ], | ||
33 | + "mountPoints": [], | ||
34 | + "memory": 900, | ||
35 | + "memoryReservation": 700, | ||
36 | + "volumesFrom": [], | ||
37 | + "image": "860721417875.dkr.ecr.cn-north-1.amazonaws.com.cn/%IMAGE_VERSION%", | ||
38 | + "essential": true, | ||
39 | + "readonlyRootFilesystem": false, | ||
40 | + "privileged": false, | ||
41 | + "name": "yohobuywap-node-activity" | ||
42 | + }, | ||
43 | + { | ||
44 | + "logConfiguration": { | ||
45 | + "logDriver": "awslogs", | ||
46 | + "options": { | ||
47 | + "awslogs-group": "yohobuywap-node-activity", | ||
48 | + "awslogs-region": "cn-north-1", | ||
49 | + "awslogs-stream-prefix": "nginx" | ||
50 | + } | ||
51 | + }, | ||
52 | + "portMappings": [ | ||
53 | + { | ||
54 | + "hostPort": 80, | ||
55 | + "protocol": "tcp", | ||
56 | + "containerPort": 80 | ||
57 | + } | ||
58 | + ], | ||
59 | + "cpu": 300, | ||
60 | + "environment": [], | ||
61 | + "mountPoints": [], | ||
62 | + "memory": 700, | ||
63 | + "memoryReservation": 300, | ||
64 | + "volumesFrom": [], | ||
65 | + "image": "860721417875.dkr.ecr.cn-north-1.amazonaws.com.cn/yoho-online/nginx-activity-yoho-cn:latest", | ||
66 | + "essential": true, | ||
67 | + "name": "nginx-activity-yoho-cn" | ||
68 | + } | ||
69 | + ], | ||
70 | + "memory": "1800", | ||
71 | + "taskRoleArn": "", | ||
72 | + "family": "yohobuywap-node-activity", | ||
73 | + "networkMode": "awsvpc", | ||
74 | + "cpu": "900", | ||
75 | + "volumes": [], | ||
76 | + "placementConstraints": [] | ||
77 | +} |
-
Please register or login to post a comment