-
Notifications
You must be signed in to change notification settings - Fork 24
/
czecs-shoryuken.json
48 lines (48 loc) · 1.29 KB
/
czecs-shoryuken.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
{
"family": "{{ .Values.project }}-{{ .Values.env }}-{{ .Values.name }}",
"containerDefinitions": [
{
"name": "idseq-{{ .Values.name }}",
"image": "{{ .Values.account_id }}.dkr.ecr.{{ .Values.region }}.amazonaws.com/idseq-web:{{ .Values.tag }}",
"cpu": 1024,
"memoryReservation": 3072,
"essential": true,
"command": ["shoryuken {{ .Values.entry_command }}"],
"environment": [
{
"name": "RAILS_ENV",
"value": "{{ .Values.env }}"
},
{
"name": "ENVIRONMENT",
"value": "{{ .Values.env }}"
},
{
"name": "RAILS_LOG_TO_STDOUT",
"value": "yes"
},
{
"name": "AWS_REGION",
"value": "{{ .Values.region }}"
},
{
"name": "AWS_DEFAULT_REGION",
"value": "{{ .Values.region }}"
},
{
"name": "COUNT",
"value": "1"
}
],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "ecs-logs-{{ .Values.env }}",
"awslogs-region": "{{ .Values.region }}",
"awslogs-stream-prefix": "idseq-{{ .Values.name }}"
}
}
}
],
"taskRoleArn": "{{ .Values.project }}-web-{{ .Values.env }}"
}