-
Notifications
You must be signed in to change notification settings - Fork 20
/
ecs_worker_task_config_template.json
154 lines (154 loc) · 3.82 KB
/
ecs_worker_task_config_template.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
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
{
"family": "worker",
"placementConstraints": [],
"executionRoleArn": "arn:aws:iam::290492953667:role/ecs-role",
"volumes": [],
"requiresCompatibilities": ["EC2"],
"taskRoleArn": "arn:aws:iam::290492953667:role/ecs-role",
"containerDefinitions": [
{
"memoryReservation": 128,
"environment": [
{
"name": "CONTAINER_TYPE",
"value": "LOW_PRIORITY_WORKER"
},
{
"name": "DEPLOYMENT_NAME",
"value": "ecsdev"
},
{
"name": "SERVER_HAS_S3_AUTH",
"value": "true"
},
{
"name": "ECS_ENABLE_TASK_IAM_ROLE",
"value": "true"
}
],
"name": "low_priority_worker",
"mountPoints": [],
"image": "290492953667.dkr.ecr.ap-southeast-2.amazonaws.com/eth_worker:eth_worker_CIRCLE_SHA1",
"cpu": 0,
"portMappings": [],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-region": "ap-southeast-2",
"awslogs-stream-prefix": "ecs",
"awslogs-group": "/ecs/worker"
}
},
"essential": true,
"volumesFrom": []
},
{
"memoryReservation": 128,
"environment": [
{
"name": "CONTAINER_TYPE",
"value": "HIGH_PRIORITY_WORKER"
},
{
"name": "DEPLOYMENT_NAME",
"value": "ecsdev"
},
{
"name": "SERVER_HAS_S3_AUTH",
"value": "true"
},
{
"name": "ECS_ENABLE_TASK_IAM_ROLE",
"value": "true"
}
],
"name": "high_priority_worker",
"mountPoints": [],
"image": "290492953667.dkr.ecr.ap-southeast-2.amazonaws.com/eth_worker:eth_worker_CIRCLE_SHA1",
"cpu": 0,
"portMappings": [],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-region": "ap-southeast-2",
"awslogs-stream-prefix": "ecs",
"awslogs-group": "/ecs/worker"
}
},
"essential": true,
"volumesFrom": []
},
{
"memoryReservation": 128,
"environment": [
{
"name": "CONTAINER_TYPE",
"value": "PROCESSOR"
},
{
"name": "DEPLOYMENT_NAME",
"value": "ecsdev"
},
{
"name": "SERVER_HAS_S3_AUTH",
"value": "true"
},
{
"name": "ECS_ENABLE_TASK_IAM_ROLE",
"value": "true"
}
],
"name": "processor",
"mountPoints": [],
"image": "290492953667.dkr.ecr.ap-southeast-2.amazonaws.com/eth_worker:eth_worker_CIRCLE_SHA1",
"cpu": 0,
"portMappings": [],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-region": "ap-southeast-2",
"awslogs-stream-prefix": "ecs",
"awslogs-group": "/ecs/worker"
}
},
"essential": true,
"volumesFrom": []
},
{
"memoryReservation": 64,
"environment": [
{
"name": "CONTAINER_TYPE",
"value": "BEAT"
},
{
"name": "DEPLOYMENT_NAME",
"value": "ecsdev"
},
{
"name": "SERVER_HAS_S3_AUTH",
"value": "true"
},
{
"name": "ECS_ENABLE_TASK_IAM_ROLE",
"value": "true"
}
],
"name": "beat",
"mountPoints": [],
"image": "290492953667.dkr.ecr.ap-southeast-2.amazonaws.com/eth_worker:eth_worker_CIRCLE_SHA1",
"cpu": 0,
"portMappings": [],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-region": "ap-southeast-2",
"awslogs-stream-prefix": "ecs",
"awslogs-group": "/ecs/worker"
}
},
"essential": true,
"volumesFrom": []
}
]
}