-
Notifications
You must be signed in to change notification settings - Fork 24
/
czecs-resque.json
59 lines (59 loc) · 1.83 KB
/
czecs-resque.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
{
"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": [
"rake",
"{{ .Values.rake_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": "QUEUE",
"value": "data_migration,q03_pipeline_run,result_monitor_loader,transfer_basespace_fastq_files,initiate_fastq_files_s3_cp,generate_bulk_download,precache_report_info,handle_sfn_notifications_timeout,check_soft_deleted_data,index_taxons,elasticsearch_index,hard_delete_objects,delete_unclaimed_user_accounts,delete_old_bulk_downloads,clear_resque_failure_queue,*"
},
{
"name": "COUNT",
"value": "1"
},
{
"name": "SAMPLES_BUCKET_NAME",
"value": "idseq-samples-{{.Values.env }}"
}
],
"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 }}"
}