-
Notifications
You must be signed in to change notification settings - Fork 5
/
quick-start-inventory.ini
2093 lines (1672 loc) · 93.9 KB
/
quick-start-inventory.ini
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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#
# This file was autogenerated by `yo living-atlas`.
#
# Please do not edit this file directly so you can rerun new versions of the
# generator in the future including new functionalities and bugfixes.
# See: https://github.com/living-atlases/generator-living-atlas#rerunning-the-generator
#
# Edit your local-extra.ini file instead that has precedence over this.
#
<%_ for (var [group, servers] of Object.entries(LA_groups_and_servers)) {_%>
[<%= group %>]
<%_ for(var i=0; i < servers.length; i++) {
extravars = group === 'zookeeper'? ` zookeeper_myid=${parseInt(i)+1}`:'';
extravars = group === 'solrcloud'? ` solr_host=${servers[i]}${extravars}`:extravars;
extravars = group === 'events_elasticsearch'? ` elasticsearch_node_name=${servers[i]}${extravars}`:extravars;
var isDockerSwarm = (group === 'zookeeper' || group === 'solrcloud') &&
Array.isArray(LA_groups_and_servers['docker_swarm']) &&
LA_groups_and_servers['docker_swarm'].includes(servers[i]);
if (isDockerSwarm) {
extravars = '';
}
_%>
<%= servers[i] + extravars %>
<%_ } %>
<%_ } _%>
<%_ for (var [parent, childgroup] of Object.entries(LA_groups_children)) { _%>
[<%= parent %>:children]
<%_ for (var [child, servers] of Object.entries(childgroup)) { _%>
<%= child %>
<%_ } %>
<%_ } _%>
<%_ if(Array.isArray(LA_groups_and_servers['docker_swarm']) && LA_groups_and_servers['docker_swarm'].length > 0) { _%>
[docker_swarm_managers]
<%_ LA_groups_and_servers['docker_swarm'].forEach(function(server) { _%>
<%= server %>
<%_ }); _%>
[docker_swarm_workers]
<%_ LA_groups_and_servers['docker_swarm'].forEach(function(server) { _%>
<%= server %>
<%_ }); _%>
<%_ } _%>
<%_ for (var [parent, childgroup] of Object.entries(LA_groups_children)) { _%>
<%_ for (var [child, servers] of Object.entries(childgroup)) { _%>
[<%= child %>]
<%_ for(var i=0; i < servers.length; i++) { _%>
<%= servers[i] %>
<%_ } %>
<%_ } _%>
<%_ } _%>
<%_ if (LA_use_spatial) { _%>
[geoserver]
<%= LA_spatial_hostname %>
[geonetwork]
<%= LA_spatial_hostname %>
[spatial-hub]
<%= LA_spatial_hostname %>
[spatial-service]
<%= LA_spatial_hostname %>
<%_ } _%>
[all:vars]
#### all:vars section (common variables for all playbooks/roles)
orgNameLong = <%= LA_project_name %>
orgNameShort = <%= LA_project_shortname %>
ansible_user=<% if (typeof LA_variable_ansible_user != 'undefined') { %><%- LA_variable_ansible_user %><% } else { %>ubuntu<% } %>
ansible_become=yes
is_vagrant=false
# Mounted storage is usually /mnt on EC2. Create a symlink to /mnt -> /data
data_dir=/data
skin_home_url = <%= LA_urls_prefix %><%= LA_domain %>
# Used by mysql connection
server_tz = Europe/Paris
use_ala_bie = <% if (typeof LA_use_species != 'undefined') { %><%- LA_use_species %><% } else { %>false<% } %>
use_spatial = <% if (typeof LA_use_spatial != 'undefined') { %><%- LA_use_spatial %><% } else { %>false<% } %>
use_regions = <% if (typeof LA_use_regions != 'undefined') { %><%- LA_use_regions %><% } else { %>false<% } %>
use_species = <% if (typeof LA_use_species != 'undefined') { %><%- LA_use_species %><% } else { %>false<% } %>
use_species_lists = <% if (typeof LA_use_species_lists != 'undefined') { %><%- LA_use_species_lists %><% } else { %>false<% } %>
use_cas = <% if (typeof LA_use_CAS != 'undefined') { %><%- LA_use_CAS %><% } else { %>false<% } %>
use_images = <% if (typeof LA_use_images != 'undefined') { %><%- LA_use_images %><% } else { %>false<% } %>
use_alerts = <% if (typeof LA_use_alerts != 'undefined') { %><%- LA_use_alerts %><% } else { %>false<% } %>
use_doi = <% if (typeof LA_use_doi != 'undefined') { %><%- LA_use_doi %><% } else { %>false<% } %>
use_webapi = <% if (typeof LA_use_webapi != 'undefined') { %><%- LA_use_webapi %><% } else { %>false<% } %>
use_dashboard = <% if (typeof LA_use_dashboard != 'undefined') { %><%- LA_use_dashboard %><% } else { %>false<% } %>
use_biocache_backend = <% if (typeof LA_use_biocache_store != 'undefined') { %><%- LA_use_biocache_store %><% } else { %>false<% } %>
use_pipelines = <% if (typeof LA_use_pipelines != 'undefined') { %><%- LA_use_pipelines %><% } else { %>false<% } %>
use_solrcloud = <% if (typeof LA_use_solrcloud != 'undefined') { %><%- LA_use_solrcloud %><% } else { %>false<% } %>
use_sds = <% if (typeof LA_use_sds != 'undefined') { %><%- LA_use_sds %><% } else { %>false<% } %>
use_biocollect = <% if (typeof LA_use_biocollect != 'undefined') { %><%- LA_use_biocollect %><% } else { %>false<% } %>
use_namematching_service = <% if (typeof LA_use_namematching_service != 'undefined') { %><%- LA_use_namematching_service %><% } else { %>false<% } %>
use_sensitive_data_service = <% if (typeof LA_use_sensitive_data_service != 'undefined') { %><%- LA_use_sensitive_data_service %><% } else { %>false<% } %>
use_data_quality = <% if (typeof LA_use_data_quality != 'undefined') { %><%- LA_use_data_quality %><% } else { %>false<% } %>
use_events = <% if (typeof LA_variable_enable_events != 'undefined') { %><%- LA_variable_enable_events %><% } else { %>false<% } %>
use_events_elasticsearch = <% if (typeof LA_use_events_elasticsearch != 'undefined') { %><%- LA_use_events_elasticsearch %><% } else { %>false<% } %>
events_enabled = <% if (typeof LA_variable_enable_events != 'undefined') { %><%- LA_variable_enable_events %><% } else { %>false<% } %>
## EMAILS
technical_contact = <% if (typeof LA_variable_support_email != 'undefined') { %><%- LA_variable_support_email %><% } else { %>support@<%= LA_domain %><% } %>
orgSupportEmail= <% if (typeof LA_variable_support_email != 'undefined') { %><%- LA_variable_support_email %><% } else { %>support@<%= LA_domain %><% } %>
download_support_email= <% if (typeof LA_variable_support_email != 'undefined') { %><%- LA_variable_support_email %><% } else { %>support@<%= LA_domain %><% } %>
email_sender= <% if (typeof LA_variable_support_email != 'undefined') { %><%- LA_variable_support_email %><% } else { %>support@<%= LA_domain %><% } %>
support_email= <% if (typeof LA_variable_support_email != 'undefined') { %><%- LA_variable_support_email %><% } else { %>support@<%= LA_domain %><% } %>
swagger_contact_email= <% if (typeof LA_variable_support_email != 'undefined') { %><%- LA_variable_support_email %><% } else { %>support@<%= LA_domain %><% } %>
orgEmail= <% if (typeof LA_variable_orgEmail != 'undefined') { %><%- LA_variable_orgEmail %><% } else { %>info@<%= LA_domain %><% } %>
eml_email_address = <% if (typeof LA_variable_support_email != 'undefined') { %><%- LA_variable_support_email %><% } else { %>support@<%= LA_domain %><% } %>
noreply_email= <% if (typeof LA_variable_support_email != 'undefined') { %><%- LA_variable_support_email %><% } else { %>support@<%= LA_domain %><% } %>
############# GBIF Name matching index
<%_ if (LA_use_namematching_service) { _%>
namematching_service_url = <%= LA_urls_prefix %><%= LA_namematching_service_url %><%= LA_namematching_service_path %>
# Used by spatial
namematching_url = <%= LA_urls_prefix %><%= LA_namematching_service_url %><%= LA_namematching_service_path %>
<%_ } _%>
# GBIF Taxonomy Backbone
custom_namematching_url = https://datos.gbif.es/others/nameindex-gbif-backbone-lucene-6-2023122001.tgz
nameindex_to_use = custom
nameindex_datestamp = gbif-backbone-lucene-6-2023122001
nameindex_checksum = sha1:2f589138ff0e90b0590b80c9fbcc86a8286fa13d
ala_namemaching_service_source = https://datos.gbif.es/others/nameindex-gbif-backbone-lucene-8-2023122001.tgz
ala_namemaching_service_source_sha1 = d37b3062fa331da3356174aea4c045014a81fcbe
ala_sensitive_data_service_namematching_source = https://datos.gbif.es/others/nameindex-gbif-backbone-lucene-6-2023122001.tgz
ala_sensitive_data_service_namematching_sha1 = 2f589138ff0e90b0590b80c9fbcc86a8286fa13d
# Use debian packages instead of docker as they are more configurable
use_docker_with_pipelines = false
# GBIF DwCA for bie-index
namedata_to_use = custom
custom_namedata_repo = https://datos.gbif.es/namedata
custom_name_sources = "[ { 'name': 'gbif-backbone', 'checksum': 'sha1:b5087f26192b4140dbe6556c2a36e5314fe12514', 'datestamp': '2023122001' } ]"
####################### Biocache service #######################################
biocache_db_host = <%= LA_biocache_backend_hostname %>
biocache_db_type = cassandra3
biocache_db_port = 9042
cassandra_listen_host = <%= LA_biocache_backend_hostname %>
use_cassandra3 = true
biocache_service_hostname = <%= LA_biocache_service_url %>
biocache_service_url = <%= LA_urls_prefix %><%= LA_biocache_service_url %><%= LA_biocache_service_path %>
biocache_service_base_url = <%= LA_urls_prefix %><%= LA_biocache_service_url %>
biocache_service_context_path = <%= LA_biocache_service_path %>
cassandra_keyspace = {{ 'biocache' if biocache_service_version is version('3', '>=') else 'occ' }}
logging_enabled = true
occurrence_log_enabled = false
default_country =
<%_ if (LA_use_spatial) { _%>
layers_service_url=<%= LA_urls_prefix %><%= LA_spatial_url %>/ws
layers_base_url=<%= LA_urls_prefix %><%= LA_spatial_url %>/ws
spatial_layers_url=<%= LA_urls_prefix %><%= LA_spatial_url %>/ws/fields
<%_ } else { _%>
# While you decide to enable and deploy the spatial service we use ALA service to avoid issues
layers_service_url=https://spatial.ala.org.au/ws
spatial_layers_url=https://spatial.ala.org.au/ws/fields
<%_ } _%>
layers_service_sampling = <%= LA_use_spatial %>
enable_lists = <%= LA_use_species_lists %>
include_species_lists = <%= LA_use_species_lists %>
<%_ if (LA_use_species_lists) { _%>
lists_service_url = <%= LA_urls_prefix %><%= LA_lists_url %><%= LA_lists_path %>
specieslist_apikey_check_url = <%= LA_urls_prefix %><%= LA_cas_url %>/apikey/ws/check?apikey=
# Used by bie, probably for new lists service (see https://lists-ws.dev.ala.org.au), meanwhile
species_list_ws_url = <%= LA_urls_prefix %><%= LA_lists_url %><%= LA_lists_path %>/ws
<%_ } _%>
commonname_lang = en
media_store_local = <%= !LA_use_images %>
<%_ if (LA_use_images) { _%>
media_store_url=<%= LA_urls_prefix %><%= LA_images_url %><%= LA_images_path %>
<%_ } _%>
download_url=<%= LA_urls_prefix %><%= LA_ala_hub_url %><%= LA_biocache_service_path %>/biocache-download
download_dir=/data/biocache-download
<%_ if (LA_use_spatial) { _%>
geoserver_url=<%= LA_urls_prefix %><%= LA_spatial_url %>/geoserver
# Used by regions:
geoserver_base_url=<%= LA_urls_prefix %><%= LA_spatial_url %>/geoserver
<%_ } else { _%>
# While you decide to enable and deploy the spatial service we use ALA service to avoid issues
geoserver_url=https://spatial.ala.org.au/geoserver
<%_ } _%>
sightings_base_url=
biocache_userdetails_url = <%= LA_urls_prefix %><%= LA_cas_url %>/userdetails/userDetails/
biocache_jwt_scopes = users/read doi/write
####################### Hub ###################################################
biocache_hub_hostname = <%= LA_ala_hub_url %>
biocache_hub_url = <%= LA_urls_prefix %><%= LA_ala_hub_url %><%= LA_ala_hub_path %>
biocache_hub_base_url = <%= LA_urls_prefix %><%= LA_ala_hub_url %>
biocache_hub_context_path = <%= LA_ala_hub_path %>
# Used by Image service
biocache_url = <%= LA_urls_prefix %><%= LA_ala_hub_url %><%= LA_ala_hub_path %>
# Used by regions, userdetails, apikey, lists, ...
biocache_base_url = <%= LA_urls_prefix %><%= LA_ala_hub_url %><%= LA_ala_hub_path %>
biocache_hub_artifact = ala-hub
biocache_hub_skin_layout = ala
biocache_hub_uri_filter_pattern=/admin/*,/alaAdmin/*,/download/*
biocache_query_context = {{ '-_nest_parent_:*' if biocache_service_version is version('3', '>=') else '' }}
club_role_for_hub = ROLE_ADMIN
authorise_roles = ROLE_ADMIN,ROLE_COLLECTION_ADMIN
ala_hub_webservice_jwt_scopes=users/read users/write
biocache_hub_userdetails_base_url = <%= LA_urls_prefix %><%= LA_cas_url %>/userdetails
images_metadata_url=<%= LA_urls_prefix %><%= LA_images_url %><%= LA_images_path %>/image/details?imageId=
userdetails_context_path = userdetails
# By default caches are disabled (the collections cache is problematic when collectory + biocache on same server)
# Configure properly for your case
caches_auth_enabled=<% if (typeof LA_variable_caches_auth_enabled != 'undefined') { %><%- LA_variable_caches_auth_enabled %><% } else { %>false<%_ } %>
caches_log_enabled=<% if (typeof LA_variable_caches_logs_enabled != 'undefined') { %><%- LA_variable_caches_logs_enabled %><% } else { %>false<%_ } %>
# If collections cache is disabled biocache-service will show collections_uid, institutions_uid instead of their respective names in facets and legends
caches_collections_enabled=<% if (typeof LA_variable_caches_collections_enabled != 'undefined') { %><%- LA_variable_caches_collections_enabled %><% } else { %>false<%_ } %>
caches_layers_enabled=<% if (typeof LA_variable_caches_layers_enabled != 'undefined') { %><%- LA_variable_caches_layers_enabled %><% } else { %>false<%_ } %>
# Disabled caches - the collections cache is problematic when collectory + biocache on same server:
# If collections cache is disabled biocache-service will show collections_uid, institutions_uid instead of their respective names in facets and legends
org_url = <%= LA_urls_prefix %><%= LA_domain %>
skin_orgNameLong = <%= LA_project_name %>
info_app_description = <%= LA_project_name %>
explore_your_area_lat = <% if (typeof LA_collectory_map_centreMapLat != 'undefined') { %><%- LA_collectory_map_centreMapLat %><% } else { %>16.942<%_ } %>
explore_your_area_lng = <% if (typeof LA_collectory_map_centreMapLng != 'undefined') { %><%- LA_collectory_map_centreMapLng %><% } else { _%>1.261<%_ } %>
explore_your_area_location = <% if (typeof LA_variable_map_zone_name != 'undefined') { %><%- LA_variable_map_zone_name %><% } else { %>Australia<%_ } %>
map_default_latitude = <% if (typeof LA_collectory_map_centreMapLat != 'undefined') { %><%- LA_collectory_map_centreMapLat %><% } else { %>16.942<%_ } %>
map_default_longitude = <% if (typeof LA_collectory_map_centreMapLng != 'undefined') { %><%- LA_collectory_map_centreMapLng %><% } else { _%>1.261<%_ } %>
map_default_zoom = 5
# Used in bie
default_map_lat = <% if (typeof LA_collectory_map_centreMapLat != 'undefined') { %><%- LA_collectory_map_centreMapLat %><% } else { %>16.942<%_ } %>
default_map_lon = <% if (typeof LA_collectory_map_centreMapLng != 'undefined') { %><%- LA_collectory_map_centreMapLng %><% } else { _%>1.261<%_ } %>
# If you don't want fluid layout, leave this option empty
skin_fluid_layout = true
use_ala_image_service = <%= LA_use_images %>
<%_ if (LA_use_images) { _%>
image_service_viewer_url = <%= LA_urls_prefix %><%= LA_images_url %><%= LA_images_path %>/image/viewer?imageId=
image_service_metadata_url = <%= LA_urls_prefix %><%= LA_images_url %><%= LA_images_path %>/image/details?imageId=
alwaysshow_imagetab = true
<%_ } _%>
use_download_plugin=true
downloads_indexed_download_url=<%= LA_urls_prefix %><%= LA_biocache_service_url %><%= LA_biocache_service_path %>/occurrences/offline/download
downloads_checklist_download_url=<%= LA_urls_prefix %><%= LA_biocache_service_url %><%= LA_biocache_service_path %>/occurrences/facets/download
downloads_indexed_fields_url=<%= LA_urls_prefix %><%= LA_biocache_service_url %><%= LA_biocache_service_path %>/index/fields
downloads_fieldguide_download_url =
downloads_static_downloads_url =
downloads_terms_of_use= <% if (typeof LA_variable_downloads_terms_of_use != 'undefined') { %><%- LA_variable_downloads_terms_of_use %><% } else { %><% } %>
swagger_info_terms_of_services= <% if (typeof LA_variable_downloads_terms_of_use != 'undefined') { %><%- LA_variable_downloads_terms_of_use %><% } else { %><% } %>
terms_url= <% if (typeof LA_variable_downloads_terms_of_use != 'undefined') { %><%- LA_variable_downloads_terms_of_use %><% } else { %><% } %>
download_auth_sensitive = true
download_solr_only = true
privacy_policy_url= <% if (typeof LA_variable_privacy_policy_url != 'undefined') { %><%- LA_variable_privacy_policy_url %><% } else { %><% } %>
grouped_facets_json=grouped_facets_default.json
biocache_grouped_facets_url=file:///data/ala-hub/config/grouped_facets_default.json
<%_ if (typeof LA_use_events != 'undefined' && LA_use_events) { _%>
events_graphql = <%= LA_urls_prefix %><%= LA_events_url %>/graphql
events_eventUrl = <%= LA_urls_prefix %><%= LA_events_url %>/?view=EVENTS&eventHierarchy=
<%_ } _%>
####################### Collectory ############################################
collectory_hostname = <%= LA_collectory_url %>
collectory_url = <%= LA_urls_prefix %><%= LA_collectory_url %><%= LA_collectory_path %>
collectory_service_url = <%= LA_urls_prefix %><%= LA_collectory_url %><%= LA_collectory_path %>/ws
collectory_base_url = <%= LA_urls_prefix %><%= LA_collectory_url %>
collectory_context_path = <%= LA_collectory_path %>
collectory_db_host_address = localhost
collectory_db_host = localhost
collectory_db_user = collectory
collectory_webservice_jwt_scopes=ala/internal users/read ala/attrs
bypass_cas = <%= !LA_use_CAS %>
public_archive_url=<%= LA_urls_prefix %><%= LA_ala_hub_url %><%= LA_ala_hub_path %>/archives/gbif/@UID@/@[email protected]
gbif_archive_url=<%= LA_urls_prefix %><%= LA_ala_hub_url %><%= LA_ala_hub_path %>/archives/gbif/@UID@/@[email protected]
mapbox_access_token= <% if (typeof LA_variable_mapbox_access_token != 'undefined') { %><%- LA_variable_mapbox_access_token %><% } else { %>RequestAMapBoxKey<% } %>
####################### CAS Auth system #######################################
# Security bypass
security_bypass = <%= !LA_use_CAS %>
# Skinning
skin = ala
# Map config
collections_map_lat = <% if (typeof LA_collectory_map_centreMapLat != 'undefined') { %><%- LA_collectory_map_centreMapLat %><% } else { %>16.942<%_ } %>
collections_map_lon = <% if (typeof LA_collectory_map_centreMapLng != 'undefined') { %><%- LA_collectory_map_centreMapLng %><% } else { _%>1.261<%_ } %>
collections_map_zoom = 3
orgCity = <% if (typeof LA_variable_orgCity != 'undefined') { %><%- LA_variable_orgCity %><% } else { %>Camberra<%_ } %>
orgStateProvince = <% if (typeof LA_variable_orgStateProvince != 'undefined') { %><%- LA_variable_orgStateProvince %><% } else { %>ACT<%_ } %>
orgPostcode = <% if (typeof LA_variable_orgPostcode != 'undefined') { %><%- LA_variable_orgPostcode %><% } else { %>2601<%_ } %>
orgCountry = <% if (typeof LA_variable_orgCountry != 'undefined') { %><%- LA_variable_orgCountry %><% } else { %>Australia<%_ } %>
region = <% if (typeof LA_variable_map_zone_name != 'undefined') { %><%- LA_variable_map_zone_name %><% } else { %>Australia<%_ } %>
regionName = <% if (typeof LA_variable_map_zone_name != 'undefined') { %><%- LA_variable_map_zone_name %><% } else { %>Australia<%_ } %>
# EML config
eml_delivery_point = <% if (typeof LA_variable_orgAddress != 'undefined') { %><%- LA_variable_orgAddress %><% } else { %>Clunies Ross Street<%_ } %>
eml_city = <% if (typeof LA_variable_orgCity != 'undefined') { %><%- LA_variable_orgCity %><% } else { %>Camberra<%_ } %>
eml_admin_area = <% if (typeof LA_variable_orgStateProvince != 'undefined') { %><%- LA_variable_orgStateProvince %><% } else { %>ACT<%_ } %>
eml_postal_code = <% if (typeof LA_variable_orgPostcode != 'undefined') { %><%- LA_variable_orgPostcode %><% } else { %>2601<%_ } %>
eml_country = <% if (typeof LA_variable_orgCountry != 'undefined') { %><%- LA_variable_orgCountry %><% } else { %>Australia<%_ } %>
# Disable UI components
disable_map = false
disable_alerts = <%= !LA_use_alerts %>
myannotation.enabled = <%= LA_use_alerts %>
disable_logger = false
# GBIF base URL for webservices
# For testing purposes use: https://api.gbif-uat.org/v1/
gbif_api_url = https://api.gbif.org/v1/
# Logger URL
logger_webservice_url = <%= LA_urls_prefix %><%= LA_logger_url %><%= LA_logger_path %>/service
# Species list tool
<% if (LA_use_species_lists) { %>
species_list_tool_url = <%= LA_urls_prefix %><%= LA_lists_url %><%= LA_lists_path %>/speciesListItem/list/
<% } %>
####################### SOLR STANDALONE #######################
# Used by BIE and/or biocache-store
<%_ if (LA_use_solrcloud) { _%>
solr_url = <%- LA_groups_and_servers['zookeeper'] != null ? LA_groups_and_servers['zookeeper'].map(i => `${i}:2181`).join(','): 'PIPELINES_NEEDS_A_SOLRCLOUR_AND_ZOOKEEPER_CLUSTER' %>
<%_ } else { _%>
solr_url = http://<%= LA_solr_url %>:8983/solr/biocache
<% } %>
solr_base_url = http://<%= LA_solr_url %>:8983
solr_context_path = <%= LA_solr_path %>
# Solr will start listing to this name/address, so it should be in the VM or
# 'I cannot bind' error will raise. Also you have to allow this IP/port in your
# internal LAN addresses
solr_host = <%= LA_solr_url %>
solr_port = 8983
# solr_version is configured previously
# solr_version=
# Deprecated: Used only in solr4 old role
solr_hostname = <%= LA_solr_hostname %>
# FIXME: Adjust this to your needs
solr_heap = 8g
sandbox_hostname = <%= LA_domain %>
sandbox_url = <%= LA_urls_prefix %><%= LA_domain %>/sandbox
sandbox_base_url = <%= LA_urls_prefix %><%= LA_domain %>
sandbox_context_path = /sandbox
################# Logger Service ############
logger_hostname = <%= LA_logger_url %>
logger_url = <%= LA_urls_prefix %><%= LA_logger_url %><%= LA_logger_path %>
logger_base_url = <%= LA_urls_prefix %><%= LA_logger_url %>
logger_context_path = <%= LA_logger_path %>
logger_db_name = logger
logger_db_username = logger_user
logger_db_hostname = localhost
logger_authorize_ip_list = <% if (typeof LA_server_ips != 'undefined') { %><%- LA_server_ips %><% } else { %><%_ } %>
############### Auth Server #########
auth_base_url = <%= LA_urls_prefix %><%= LA_cas_url %>
auth_cas_url = <%= LA_urls_prefix %><%= LA_cas_url %>/cas
auth_cookie_name=ALA-Auth
auth_cookie_domain=.<%- LA_domain %>
auth_cookie_enabled=true
# For tests use, for instance:
# auth_cookie_name=ALA-Auth-Test
#
openapi_oauth_url = <%= LA_urls_prefix %><%= LA_cas_url %>/cas/oidc
oidc_discovery_url = <%= LA_urls_prefix %><%= LA_cas_url %>/cas/oidc/.well-known
# Used by spatial
oidc_discoveryUri = <%= LA_urls_prefix %><%= LA_cas_url %>/cas/oidc/.well-known
jwt_discoveryUri = <%= LA_urls_prefix %><%= LA_cas_url %>/cas/oidc/.well-known
apikey_service_url=<%= LA_urls_prefix %><%= LA_cas_url %>/apikey/
# Used by biocache
api_check_url=<%= LA_urls_prefix %><%= LA_cas_url %>/apikey/ws/check?apikey=
# Used by profile service
apikey_check_url = <%= LA_urls_prefix %><%= LA_cas_url %>/apikey/ws/check?apikey=
apikey_auth_url = <%= LA_urls_prefix %><%= LA_cas_url %>/apikey/
api_key_service_url = <%= LA_urls_prefix %><%= LA_cas_url %>/apikey/ws/check?apikey=
# Whether to check API keys for incoming write requests
api_key_check_enabled = <%= LA_use_CAS %>
# https://github.com/AtlasOfLivingAustralia/ala-security-project/blob/develop/ala-ws-security-plugin/README.md#apikey-support
# security.apikey.enabled, if true we have issues for instance with users without emails in biocache-service
apikey_check_enabled = false
userdetails_url=<%= LA_urls_prefix %><%= LA_cas_url %>/userdetails
apikey_userdetails_url = <%= LA_urls_prefix %><%= LA_cas_url %>/userdetails/
userdetails_web_url=<%= LA_urls_prefix %><%= LA_cas_url %>/userdetails/
userdetails_api_url=<%= LA_urls_prefix %><%= LA_cas_url %>/userdetails/
default_logout_redirect_url = <%= LA_urls_prefix %><%= LA_domain %>
discoveryUri = <%= LA_urls_prefix %><%= LA_cas_url %>/cas/oidc/.well-known
security_cas_enabled = <% if (typeof LA_variable_oidc_use != 'undefined') { %><%- !LA_variable_oidc_use %><% } else { %>true<% } %>
security_oidc_enabled = <% if (typeof LA_variable_oidc_use != 'undefined') { %><%- LA_variable_oidc_use %><% } else { %>false<% } %>
# Used by spatial
cas_enabled = <% if (typeof LA_variable_oidc_use != 'undefined') { %><%- !LA_variable_oidc_use %><% } else { %>true<% } %>
oidc_enabled = <% if (typeof LA_variable_oidc_use != 'undefined') { %><%- LA_variable_oidc_use %><% } else { %>false<% } %>
# Used by userdetails
userdetails_use_cas = <% if (typeof LA_variable_oidc_use != 'undefined') { %><%- !LA_variable_oidc_use %><% } else { %>true<% } %>
userdetails_use_oidc = <% if (typeof LA_variable_oidc_use != 'undefined') { %><%- LA_variable_oidc_use %><% } else { %>false<% } %>
jwt_auth_enabled = <% if (typeof LA_variable_jwt_in_use != 'undefined') { %><%- LA_variable_jwt_in_use %><% } else { %>false<% } %>
webservice_jwt = <% if (typeof LA_variable_jwt_out_use != 'undefined') { %><%- LA_variable_jwt_out_use %><% } else { %>false<% } %>
userdetails_jwt_client_enabled = <% if (typeof LA_variable_jwt_out_use != 'undefined') { %><%- LA_variable_jwt_out_use %><% } else { %>false<% } %>
userdetails_jwt_enabled = <% if (typeof LA_variable_jwt_in_use != 'undefined') { %><%- LA_variable_jwt_in_use %><% } else { %>false<% } %>
# In ALA this defaults to 'cognito' in image service
logout_action =
cas_extra_scopes = []
####### When near the GBIF building (e.g. in Europe) the GBIF nexus will likely be fastest #########
use_gbif_nexus = false
####### SDS common vars #######
sds_enabled = <%= LA_use_sds %>
<%_ if (LA_use_sds) { _%>
biocache_sds_url = <%= LA_urls_prefix %><%= LA_sds_url %><%= LA_sds_path %>
sds_url = <%= LA_urls_prefix %><%= LA_sds_url %><%= LA_sds_path %>
sds_faq_url = <% if (typeof LA_variable_sds_faq_url != 'undefined') { %><%- LA_variable_sds_faq_url %><% } else { %>https://www.ala.org.au/faq/data-sensitivity/<% } %>
sds_spatial_layers = <% if (typeof LA_variable_sds_spatial_layers != 'undefined') { %><%- LA_variable_sds_spatial_layers %><% } %>
sds_flag_rules = <% if (typeof LA_variable_sds_flag_rules != 'undefined') { %><%- LA_variable_sds_flag_rules %><% } %>
sds_skin_layout=ala-main
# 2024-03-04 workaround for sds-layers untar issues
# https://github.com/AtlasOfLivingAustralia/ala-sensitive-data-service/pull/33
sds_layers_url=https://datos.gbif.es/others/sds-layers.tgz
<%_ } else { _%>
biocache_sds_url =
<%_ } _%>
webserver_nginx=true
ssl=<%= LA_enable_ssl %>
force_https=<%= LA_enable_ssl %>
nginx_client_max_body_size=1024m
<%_ if (LA_enable_ssl) { _%>
ssl_certificate_server_dir=/etc/ssl
ssl_cert_file=certs/ssl-cert-snakeoil.pem
ssl_key_file=private/ssl-cert-snakeoil.key
<%_ } _%>
# nginx_vhost_fragments_to_clear = <%- JSON.stringify(LA_nginx_vhosts)%>
nginx_vhost_fragments_to_clear =
# https://github.com/AtlasOfLivingAustralia/documentation/wiki/Troubleshooting#nginx-vhost-ansible-issues
nginx_vhost_fragments_to_clear_no_warning = true
# This prevents overwrite vhost configurations when deploying in same server
# See: https://github.com/AtlasOfLivingAustralia/ala-install/pull/368
# vhost_with_appname_conf = true
############### Biocache CLI options ###############
biocache_opts = -Xmx1g -Xms1g
############## Base header / footer ###############
# NOTE: this header/footer url doesn't have a trailing /
header_and_footer_baseurl = <%= LA_urls_prefix %><% if (typeof LA_branding_url != 'undefined') { %><%- LA_branding_url %><% } else { %><%- LA_domain %><%_ } %><% if (typeof LA_branding_path != 'undefined') { %><%- LA_branding_path.replace(/\/$/, "") %><% } else { %><%_ } %>
header_and_footer_version = 2
###### favicon #######
favicon_url=<% if (typeof LA_variable_favicon_url != 'undefined') { %><%- LA_variable_favicon_url %><% } else { %>https://raw.githubusercontent.com/living-atlases/artwork/master/favicon.ico<% } %>
skin_favicon=<% if (typeof LA_variable_favicon_url != 'undefined') { %><%- LA_variable_favicon_url %><% } else { %>https://raw.githubusercontent.com/living-atlases/artwork/master/favicon.ico<% } %>
<%_ if (LA_use_species_lists) { _%>
######### Species list ##############
specieslist_hostname = <%= LA_lists_url %>
specieslist_url = <%= LA_urls_prefix %><%= LA_lists_url %><%= LA_lists_path %>
specieslist_base_url = <%= LA_urls_prefix %><%= LA_lists_url %>
specieslist_context_path = <%= LA_lists_path %>
specieslist_db_hostname = localhost
specieslist_db_name = specieslists
specieslist_db_username = specieslists
collectory_enable_sync = false
<%_ if (LA_use_species) { _%>
bie_service_base_url = <%= LA_urls_prefix %><%= LA_bie_index_url %><%= LA_bie_index_path %>
# The same but used by biocollect:
bie_ws_base_url = <%= LA_urls_prefix %><%= LA_bie_index_url %><%= LA_bie_index_path %>
<%_ } _%>
field_guide_base_url =
specieslist_iconic_species_url = <%= LA_urls_prefix %><%= LA_lists_url %><%= LA_lists_path %>/iconic-species
# Used by alerts
species_list_server = <%= LA_urls_prefix %><%= LA_lists_url %><%= LA_lists_path %>
specieslist_userdetails_url=<%= LA_urls_prefix %><%= LA_cas_url %>/userdetails/
security_apikey_auth_serviceUrl=<%= LA_urls_prefix %><%= LA_cas_url %>/apikey/ws/check/
security_apikey_userdetails_serviceUrl=<%= LA_urls_prefix %><%= LA_cas_url %>/userdetails/userDetails/
lists_webservice_jwt_scopes=ala/internal users/read ala/attrs
<%_ } else { _%>
# Added while we install our BIE service
specieslist_url = https://lists.ala.org.au
<%_ } _%>
<%_ if (LA_use_species) { _%>
############# BIE index ################
bie_index_base_url = <%= LA_urls_prefix %><%= LA_bie_index_url %><%= LA_bie_index_path %>
bie_index_context_path = <%= LA_bie_index_path %>
bie_index_hostname = <%= LA_bie_index_url %>
bie_index_webservice_jwt_scopes = users/read ala/attrs
bie_index_uri_filter_pattern=/admin/*,/alaAdmin/*
bie_use_yml = true
index_live_url = http://<%= LA_solr_url %>:8983/solr/bie
index_offline_url = http://<%= LA_solr_url %>:8983/solr/bie-offline
<%_ if (typeof LA_use_biocollect != 'undefined' && LA_use_biocollect) { _%>
biocollect_url = <%= LA_urls_prefix %><%= LA_biocollect_url %><%= LA_biocollect_path %>
<%_ } else { _%>
biocollect_url =
<%_ } _%>
<%_ } else { _%>
# Added while we install our BIE service
bie_base_url = https://bie.ala.org.au
bie_service_base_url = https://bie.ala.org.au/ws
<%_ } _%>
biocache_solr_url = http://<%= LA_solr_url %>:8983/solr/biocache
disable_cas = <%= !LA_use_CAS %>
index_images = <%= LA_use_images %>
<%_ if (LA_use_species) { _%>
############# BIE Hub ################
bie_hub = ala-bie
bie_hub_base_url = <%= LA_urls_prefix %><%= LA_ala_bie_url %>
bie_hub_context_path = <%= LA_ala_bie_path %>
bie_hub_hostname = <%= LA_ala_bie_url %>
ala_bie_webservice_jwt_scopes = users/read ala/attrs
bie_image_filter = '"&qualityProfile=LA"'
ausTraits_source_url=https://doi.org/10.5281/zenodo.3568417
ausTraits_definitions_url=https://traitecoevo.github.io/austraits.build/articles/trait_definitions.html
google_url = https://www.google.com
<%_ } _%>
# To false following ALA use of this
bie_service_enabled = false
<%_ if (LA_use_species_lists) { _%>
species_list_url = <%= LA_urls_prefix %><%= LA_lists_url %><%= LA_lists_path %>
specieslist_service_url = <%= LA_urls_prefix %><%= LA_lists_url %><%= LA_lists_path %>/ws
lists_base_url = <%= LA_urls_prefix %><%= LA_lists_url %><%= LA_lists_path %>
<%_ } else { _%>
species_list_url = https://lists.ala.org.au
specieslist_service_url = https://lists.ala.org.au
lists_base_url = https://lists.ala.org.au
<%_ } _%>
sightings_url =
<%_ if (LA_use_spatial) { _%>
spatial_url=<%= LA_urls_prefix %><%= LA_spatial_url %>
spatial_base_url=<%= LA_urls_prefix %><%= LA_spatial_url %>
<%_ } else { _%>
# While you decide to enable and deploy the spatial service we use ALA service to avoid issues
spatial_url=https://spatial.ala.org.au
spatial_base_url=https://spatial.ala.org.au
<%_ } _%>
<%_ if (LA_use_species) { _%>
bie_base_url = <%= LA_urls_prefix %><%= LA_ala_bie_url %><%= LA_ala_bie_path %>
skin_taxa_links_base_url = <%= LA_urls_prefix %><%= LA_ala_bie_url %><%= LA_ala_bie_path %>/species/
<%_ } _%>
ala_base_url = <%= LA_urls_prefix %><%= LA_domain %>
ala_baseurl = <%= LA_urls_prefix %><%= LA_domain %>
use_ala_spatial_portal=<%= LA_use_spatial %>
# EOL
eol_sanitise=true
eol_html_allowedElements=h1,h2,h3,h4,h5,h6,div,a,br,i,b,u,small,strike,span,ul,li,p,sup,cite,ol,em,hr
eol_html_allowAttributes=href;a;^(http|https|mailto|#).+,class;span,id;span,src;img;^(http|https).+
<%_ if (LA_use_images) { _%>
####### Images #######
image_service_url = <%= LA_urls_prefix %><%= LA_images_url %><%= LA_images_path %>
image_service_base_url = <%= LA_urls_prefix %><%= LA_images_url %>
image_service_context_path = <%= LA_images_path %>
image_service_hostname = <%= LA_images_url %>
image_service_db_name=images
image_service_db_username=images
image_service_port=9101
image_service_logfile = {{ 'logback.xml' if image_service_version is version('3', '>=') else 'logback.groovy' }}
# Used by bie-index
image_base_url = <%= LA_urls_prefix %><%= LA_images_url %>
images_userdetails_url = <%= LA_urls_prefix %><%= LA_cas_url %>/userdetails/
<%_ } _%>
<%_ if (LA_use_regions) { _%>
####### Regions #######
regions_hostname = <%= LA_regions_url %>
regions_base_url = <%= LA_urls_prefix %><%= LA_regions_url %>
regions_context_path = <%= LA_regions_path %>
regions_artifact = regions
regions_map_bounds = <% if (typeof LA_regions_map_bounds != 'undefined') { %><%- LA_regions_map_bounds %><% } else { %>[]<%_ } %>
regions_map_min_lat = <% if (typeof LA_regions_map_bounds != 'undefined') { %><%- JSON.parse(LA_regions_map_bounds)[0] %><% } else { %>-41.5<%_ } %>
regions_map_min_lng = <% if (typeof LA_regions_map_bounds != 'undefined') { %><%- JSON.parse(LA_regions_map_bounds)[1] %><% } else { %>114<%_ } %>
regions_map_max_lat = <% if (typeof LA_regions_map_bounds != 'undefined') { %><%- JSON.parse(LA_regions_map_bounds)[2] %><% } else { %>-13.5<%_ } %>
regions_map_max_lng = <% if (typeof LA_regions_map_bounds != 'undefined') { %><%- JSON.parse(LA_regions_map_bounds)[3] %><% } else { %>154<%_ } %>
regions_skin_fluid_layout = false
<%_ } _%>
<%_ if (LA_use_spatial) { _%>
spatial_base_url_ws=<%= LA_urls_prefix %><%= LA_spatial_url %>/ws
<%_ } else { _%>
# While you decide to enable and deploy the spatial service we use ALA service
spatial_base_url_ws=https://spatial.ala.org.au/ws
<%_ } _%>
<%_ if (LA_use_alerts) { _%>
alerts_url = <%= LA_urls_prefix %><%= LA_alerts_url %><%= LA_alerts_path %>
alerts_base_url = <%= LA_urls_prefix %><%= LA_alerts_url %>
alerts_context_path = <%= LA_alerts_path %>
alerts_apikey_check_url = <%= LA_urls_prefix %><%= LA_cas_url %>/apikey/ws/check?apikey=
alerts_apikey_whitelist = <% if (typeof LA_server_ips != 'undefined') { %><%- LA_server_ips %><% } else { %><%_ } %>
alerts_hostname = <%= LA_alerts_url %>
alerts_db_hostname = localhost
alerts_db_name = alerts
alerts_db_username = alerts
alerts_myannotation_enabled = true
email_alert_address_title = <%= LA_project_shortname %> alerts
email_info_address_title = <%= LA_project_name %>
email_info_sender = <% if (typeof LA_variable_support_email != 'undefined') { %><%- LA_variable_support_email %><% } else { %>support@<%= LA_domain %><% } %>
enable_email = true
occurrence_searchTitle = occurrence search
occurrence_searchUrl = https://biocache.ala.org.au/occurrences/search?q=passer
regions_searchTitle = ACT
regions_searchUrl = https://regions.ala.org.au/states/Australian+Capital+Territory
speciesPages_searchTitle = Shingle-back
speciesPages_searchUrl = https://bie.ala.org.au/species/Tiliqua+rugosa
collection_searchTitle = ANIC
collection_searchUrl = https://collections.ala.org.au/public/show/co13
enable_specieslists_alerts = <%= LA_use_species_lists %>
enable_spatial_alerts = <%= LA_use_spatial %>
enable_blogs_alerts = false
enable_citizen_science_alerts = false
<%_ } else { _%>
alerts_base_url =
alerts_url =
<%_ } _%>
biocache_records_url=<%= LA_urls_prefix %><%= LA_ala_hub_url %><%= LA_ala_hub_path %>
<%_ if (LA_use_spatial) { _%>
# Used by regions allowedHost
spatial_ws_hostname=<%= LA_spatial_url %>
<%_ } else { _%>
# While you decide to enable and deploy the spatial service we use ALA service
spatial_ws_hostname=spatial.ala.org.au
<%_ } _%>
<%_ if (LA_use_webapi) { _%>
####### Web API #######
webapi_hostname = <%= LA_webapi_url %>
webapi_base_url = <%= LA_urls_prefix %><%= LA_webapi_url %>
webapi_url = <%= LA_urls_prefix %><%= LA_webapi_url %><%= LA_webapi_path %>
webapi_context_path = <%= LA_webapi_path %>
webapi_db_hostname = localhost
webapi_db_name = webapi
webapi_db_username = webapi
<%_ } _%>
<%_ if (LA_use_dashboard) { _%>
####### Dashboard #######
dashboard_hostname = <%= LA_dashboard_url %>
dashboard_base_url = <%= LA_urls_prefix %><%= LA_dashboard_url %>
dashboard_url = <%= LA_urls_prefix %><%= LA_dashboard_url %><%= LA_dashboard_path %>
dashboard_context_path = <%= LA_dashboard_path %>
volunteer_base_url =
<%_ } _%>
# Tune this per service if you need less or more memory on it
tomcat_java_opts = -Xmx4g -Xms4g -Xss256k -Djava.awt.headless=true
##### Updated components versions
#
# Check: https://github.com/AtlasOfLivingAustralia/documentation/wiki/Components-versioning
#
# Default fallback versions (if the toolkit does not set them)
alerts_version = 1.5.3
apikey_version = 1.5
bie_hub_version = 1.5.1
bie_index_version = 1.4.15
biocache_cli_version = 2.6.1
biocache_hub_version = 4.0.8
# Newers versions of biocache-service > 2.4.2 require tomcat8/9
biocache_service_version = 2.7.1
cas_management_version = 5.3.6-1
cas_version = 5.3.12-2
collectory_version = 1.6.4
dashboard_version = 2.2
doi_service_version = 1.1.5
image_service_version = 1.1.7.1
logger_version = 3.0.0
ala_name_matching_version = 3.5
regions_version = 3.3.5
sds_version = 1.6.2
solr_version = 7.7.3
solrcloud_version = 8.9.0
spatial_hub_version = 0.4.2
spatial_service_version = 0.4.2
species_list_version = 3.5.9
user_details_version = 2.3.0
webapi_version = 2.0
pipelines_version = 2.13.0-SNAPSHOT+0~20221123105804.867~1.gbp85d7b3
data_quality_filter_service_version = 1.0.0
namematching_service_version=1.4
biocollect_version=5.2.6
ecodata_version=3.3.1
pdf_service_version=1.3
<%_ if (typeof LA_software_versions != 'undefined') { _%>
<%_ if (LA_software_versions.length > 0) { _%>
# Software versions selected in the la-toolkit:
<%_ } %>
<%_ for(var i=0; i < LA_software_versions.length; i++) { _%>
<%= LA_software_versions[i][0] %> = <%= LA_software_versions[i][1] %>
<%_ } %>
<%_ } _%>
<%_ if (LA_use_doi) { _%>
doi_service_url = <%= LA_urls_prefix %><%= LA_doi_url %><%= LA_doi_path %>
doi_service_api_url = <%= LA_urls_prefix %><%= LA_doi_url %><%= LA_doi_path %>/api/
download_doi_resolver = <%= LA_urls_prefix %><%= LA_doi_url %><%= LA_doi_path %>/doi/
my_download_doi_baseUrl = <%= LA_urls_prefix %><%= LA_doi_url %><%= LA_doi_path %>/myDownloads
download_doi_licence_prefix = "Datasets are covered by the following licence(s): "
download_doi_title_prefix = "Occurrence download "
# Enable to use DOI service
doi_mint_doi = false
doi_swagger_info_description=Generate DOIs for <%= LA_project_shortname %> applications
doi_swagger_info_title=<%= LA_project_shortname %> DOI service
doi_webservice_jwt_scopes=ala/internal users/read ala/attrs
doi_skin_fluid_layout=
<%_ } _%>
<%_ if (typeof LA_use_biocollect != 'undefined' && LA_use_biocollect) { _%>
###### ECODATA #######
biocollect_base_url = <%= LA_urls_prefix %><%= LA_biocollect_url %>
<%_ if (LA_use_images) { _%>
imagesService_baseURL=<%= LA_urls_prefix %><%= LA_images_url %><%= LA_images_path %>
<%_ } _%>
biocacheService_baseUrl=<%= LA_urls_prefix %><%= LA_biocache_service_url %><%= LA_biocache_service_path %>
<%_ if (LA_use_CAS) { _%>
security_serviceUrl = <%= LA_urls_prefix %><%= LA_cas_url %>/apikey/ws/check?apikey=
###### PDFGEN ######
pdfgen_base_url = <%= LA_urls_prefix %><%= LA_pdfgen_url %>
<%_ } _%>
# FIXME
# merit_base_url=https://fieldcapture.ala.org.au
# email SMTP server to use for sending emails
mail_host=<% if (typeof LA_variable_email_sender_server != 'undefined') { %><%- LA_variable_email_sender_server %><% } else { %>mail.<%= LA_domain %><% } %>
ecodata_noreply_email=<% if (typeof LA_variable_email_sender != 'undefined') { %><%- LA_variable_email_sender %><% } else { %>support@<%= LA_domain %><% } %>
ecodata_support_email=<% if (typeof LA_variable_support_email != 'undefined') { %><%- LA_variable_support_email %><% } else { %>support@<%= LA_domain %><% } %>
# application config
app_uploads_url=/document/download/
models_path=/data/ecodata/models/
merit_ip=<%= LA_groups_and_servers['ecodata'][0] %>
biocollect_ip=<%= LA_groups_and_servers['biocollect'][0] %>
# mongodb config
ecodata_dbPath=/data/mongodb
ecodata_SystemLog=/var/log/mongodb
# As 4.0 it's not now supported
# TODO: Let pick the version via common/set-facts
mongodb_version=5.0
# In case of using mongo replication in ecodata
#
# mongo_hosts=primary:27017,secondary:27017
# mongo_primary_ip=<%= LA_groups_and_servers['ecodata'][0] %>
# mongo_secondary_ip=<%= LA_groups_and_servers['ecodata-reporting'][0] %>
mongodb_version_3=true
merit_data_provider_uuid=dp5159
# This should be created in your collectory
# For instance: https://collections.ala.org.au/public/show/dp3903
biocollect_data_provider_uuid=dp3903
# In case of using mongo replication in ecodata
#
# mongo replica set config file
# enable_mongo_replica_set=True
# replication=True
# replicaSetName=rs0
# ecodata_local_authentication_keyFile=some-key-file
# ecodata_keyFile=/etc/mongodb-keyFile
# ecodata_replica_set_disable_mongo_security=false
# disabled_creating_admin_user=false
# enable_security_after_replica_set = true
#### END of ecodata section
<%_ } _%>
<%_ if (LA_use_data_quality) { _%>
###### DATA QUALITY (common) #######
data_quality_url = <%= LA_urls_prefix %><%= LA_data_quality_url %><%= LA_data_quality_path %>/
<%_ } _%>
#### END of all:vars section
[branding:vars]
branding_hostname = <% if (typeof LA_branding_hostname != 'undefined') { %><%- LA_branding_hostname %><% } else { %><%- LA_main_hostname %><%_ } %>
branding_url = <% if (typeof LA_branding_url != 'undefined') { %><%- LA_branding_url %><% } else { %><%- LA_main_hostname %><%_ } %>
branding_path = <% if (typeof LA_branding_path != 'undefined') { %><%- LA_branding_path %><% } else { %>/<%_ } %>
branding_nginx_cors_origin_regexp = ^https?:\/\/(localhost|<%- LA_domain.replace(/\./g, '\\.') %>|.*\.<%- LA_domain.replace(/\./g, '\\.') %>)
# this general 'nginx_cors_origin_regexp' can fail if you install the branding with other services, so added only to branding above
# nginx_cors_origin_regexp = ^https?:\/\/(localhost|<%- LA_domain.replace(/\./g, '\\.') %>|.*\.<%- LA_domain.replace(/\./g, '\\.') %>)
[nameindexer:vars]
use_openjdk8 = true
[collectory:vars]
collectory_app = "{{ 'collectory' if collectory_version is version('3', '>=') else 'ala-collectory' }}"
collectory_skin_layout = "{{ 'ala-main' if collectory_version is version('3', '>=') else 'ala' }}"
collectory_fluid_layout = "{{ 'true' if collectory_version is version('3', '>=') else '' }}"
# For collectory versions < 3.0.0
# collectory_app = ala-collectory
# collectory_skin_layout = ala
# For versions >= 3.0.0
# collectory_app = collectory
# collectory_skin_layout = ala-main
is_pipelines_compatible = {{ biocache_service_version is version('3', '>=') | string | lower }}
# When https://github.com/AtlasOfLivingAustralia/collectory-plugin/issues/159 is fixed set to true
collectory_content_type_options_header=false
# RIFCS
rifcs_exclude_bounds = true
use_openjdk8 = "{{ collectory_version is version('3.1.0', '<') }}"
use_openjdk11 = "{{ collectory_version is version('3.1.0', '>=') }}"
tomcat = "{{ 'tomcat10' if (ansible_distribution == 'Ubuntu' and ansible_distribution_version is version('24.04', '=')) else 'tomcat9' if collectory_version is version('3', '>=') else 'tomcat9' if (ansible_os_family == 'Debian' and ansible_distribution_version is version('20.04', '>=')) else 'tomcat8' }}"
tomcat_user = "{{ 'tomcat' if collectory_version is version('3', '>=') else 'tomcat' if (ansible_os_family == 'Debian' and ansible_distribution_version is version('20.04', '>=')) else 'tomcat8' }}"
[biocache-hub:vars]
biocache_hub_skin_layout = ala
facets_cached=species_group,species_subgroup,state,country,institution_uid,collection_uid,data_resource_uid
<%_ if (LA_use_data_quality) { _%>
data_quality_enabled = <% if (typeof LA_enable_data_quality != 'undefined') { %><%- LA_enable_data_quality %><% } else { %><%- true %><%_ } %>
data_quality_url = <%= LA_urls_prefix %><%= LA_data_quality_url %><%= LA_data_quality_path %>/
data_quality_learnmore_link = https://support.ala.org.au/support/solutions/articles/6000240256-getting-started-with-the-data-quality-filters
data_quality_warning_on = true
# data_quality_default_disable_all_filters = false
# data_quality_default_expand_filters = true
dataQualitydata_quality_checks_url=https://raw.githubusercontent.com/AtlasOfLivingAustralia/ala-install/master/ansible/roles/biocache-hub/files/data-quality-checks-with-pipelines.csv
# skin_data_quality_link_show = false
# skin_data_quality_link_url = "https://biocache-dq-test.ala.org.au"
# skin_data_quality_link_text = "Try the new search interface with automatic filtering based on data quality metrics"
data_quality_userdetails_base_url = <%= LA_urls_prefix %><%= LA_cas_url %>/userdetails
<%_ } _%>
use_openjdk8 = "{{ biocache_hub_version is version('5.0.0', '<') }}"
use_openjdk11 = "{{ biocache_hub_version is version('5.0.0', '>=') }}"
# Relax the requirement to encode the square bracket characters
# Issue tracking fixing this is at:
# https://github.com/AtlasOfLivingAustralia/biocache-hubs/issues/369
tomcat_relaxed_query_chars="]["
[biocache-service-clusterdb:vars]
online_downloadquery_maxthreads=20
download_offline_parallelquery_maxthreads=20
download_offline_max_size=50000000
download_throttle_ms=600
download_batch_size=1000
download_internal_queue_size=2000
download.shp.enabled=false
scatterplot_query_page_size=20000
facets_max = 32
qid_wkt_maxPoints=10000
# 100 * 1024 * 1024
wms_cache_size_max=104857600
# Biocache service returns inconsistent response content types for occurrences/search.json with callbacks
# When https://github.com/AtlasOfLivingAustralia/biocache-service/issues/247 is fixed we can switch it back on again
biocache_service_content_type_options_header=false
<%_ if (LA_use_data_quality) { _%>
data_quality_enabled = <% if (typeof LA_enable_data_quality != 'undefined') { %><%- LA_enable_data_quality %><% } else { %><%- true %><%_ } %>
data_quality_url = <%= LA_urls_prefix %><%= LA_data_quality_url %><%= LA_data_quality_path %>/
<%_ } _%>
<%_ if (LA_use_CAS) { _%>
security_jwt_jwk_url = <%= LA_urls_prefix %><%= LA_cas_url %>/oidc/jwks
<%_ } _%>
<%_ if (LA_use_namematching_service) { _%>
namesearch_url = <%= LA_urls_prefix %><%= LA_namematching_service_url %><%= LA_namematching_service_path %>
<%_ } _%>
tomcat = "{{ 'tomcat10' if (ansible_distribution == 'Ubuntu' and ansible_distribution_version is version('24.04', '=')) else 'tomcat9' if biocache_service_version is version('3', '>=') else 'tomcat9' if (ansible_os_family == 'Debian' and ansible_distribution_version is version('20.04', '>=')) else 'tomcat8' }}"
tomcat_user = "{{ 'tomcat' if biocache_service_version is version('3', '>=') else 'tomcat' if (ansible_os_family == 'Debian' and ansible_distribution_version is version('20.04', '>=')) else 'tomcat8' }}"
use_openjdk8 = "{{ biocache_service_version is version('3.1.2', '<') }}"
use_openjdk11 = "{{ biocache_service_version is version('3.1.2', '>=') }}"
jmx_debug_enabled=true
tomcat_jmx_port=10058
tomcat_max_post_size=67589953
biocache_useragent=Biocache
# Limit the effect that occurrence search and mapping have on the Solr cloud by reducing the default HTTP Client configuration
solr_connection_pool_size=16
solr_connection_pool_maxperroute=8
# Decrease the timeouts for biocache service as it is latency sensitive
solr_connection_connecttimeout=60000
solr_connection_requesttimeout=60000
solr_connection_sockettimeout=180000
solr_connection_cache_entries=2000
# 100 * 1024 * 1024 kilobytes = 104857600 bytes
solr_connection_cache_object_size=104857600
solr_downloadquery_maxthreads=20
endemic_query_maxthreads=1
wms_page_size=20000
restart_data_enabled=false
# Sample
# sensitive_access_roles={\"ROLE_SDS_ACT\" : \"sensitive: \\\"generalised\\\" AND (stateProvince:\\\"Australian Capital Territory\\\" OR stateProvince:\\\"Jervis Bay Territory\\\") AND -(dataResourceUid:dr359 OR dataResourceUid:dr571 OR dataResourceUid:dr570)\", \"ROLE_SDS_NSW\" : \"sensitive:\\\"generalised\\\" AND stateProvince:\\\"New South Wales\\\" AND -(dataResourceUid:dr359 OR dataResourceUid:dr571 OR dataResourceUid:dr570)\", \"ROLE_SDS_NZ\" : \"sensitive:\\\"generalised\\\" AND (dataResourceUid:dr2707 OR dataResourceUid:dr812 OR dataResourceUid:dr814 OR dataResourceUid:dr808 OR dataResourceUid:dr806 OR dataResourceUid:dr815 OR dataResourceUid:dr802 OR dataResourceUid:dr805 OR dataResourceUid:dr813) AND -stateProvince:* AND -(dataResourceUid:dr359 OR dataResourceUid:dr571 OR dataResourceUid:dr570)\", \"ROLE_SDS_NT\" : \"sensitive:\\\"generalised\\\" AND stateProvince:\\\"Northern Territory\\\" AND -(dataResourceUid:dr359 OR dataResourceUid:dr571 OR dataResourceUid:dr570)\", \"ROLE_SDS_QLD\" : \"sensitive:\\\"generalised\\\" AND stateProvince:\\\"Queensland\\\" AND -(dataResourceUid:dr359 OR dataResourceUid:dr571 OR dataResourceUid:dr570)\", \"ROLE_SDS_SA\" : \"sensitive:\\\"generalised\\\" AND stateProvince:\\\"South Australia\\\" AND -(dataResourceUid:dr359 OR dataResourceUid:dr571 OR dataResourceUid:dr570)\", \"ROLE_SDS_TAS\" : \"sensitive:\\\"generalised\\\" AND stateProvince:\\\"Tasmania\\\" AND -(dataResourceUid:dr359 OR dataResourceUid:dr571 OR dataResourceUid:dr570)\", \"ROLE_SDS_VIC\" : \"sensitive:\\\"generalised\\\" AND stateProvince:\\\"Victoria\\\" AND -(dataResourceUid:dr359 OR dataResourceUid:dr571 OR dataResourceUid:dr570)\", \"ROLE_SDS_WA\" : \"sensitive:\\\"generalised\\\" AND stateProvince:\\\"Western Australia\\\" AND -(dataResourceUid:dr359 OR dataResourceUid:dr571 OR dataResourceUid:dr570)\",\"ROLE_SDS_BIRDLIFE\" : \"sensitive:\\\"generalised\\\" AND (dataResourceUid:dr359 OR dataResourceUid:dr571 OR dataResourceUid:dr570)\"}