-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathczecs.json
49 lines (49 loc) · 1.23 KB
/
czecs.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
{
"family": "{{ .Values.project }}-{{ .Values.env }}-{{ .Values.name }}",
"containerDefinitions": [
{
"name": "rails",
"image": "{{ .Values.account_id }}.dkr.ecr.{{ .Values.region }}.amazonaws.com/idseq-web:{{ .Values.tag }}",
"cpu": 4096,
"memoryReservation": 14336,
"essential": true,
"portMappings": [
{
"containerPort": 3000,
"hostPort": 0
}
],
"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 }}"
}
],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "ecs-logs-{{ .Values.env }}",
"awslogs-region": "{{ .Values.region }}",
"awslogs-stream-prefix": "rails"
}
}
}
],
"taskRoleArn": "{{ .Values.project }}-web-{{ .Values.env }}"
}