Merge branch 'master' into 2761-diagnostic-suite
[arvados.git] / apps / workbench / config / application.default.yml
1 # Do not use this file for site configuration. Create application.yml
2 # instead (see application.yml.example).
3
4 # Below is a sample setting for diagnostics testing.
5 # Configure workbench URL as "arvados_workbench_url"
6 # Configure test user tokens as "user_tokens".
7 #   At this time the tests need an "active" user token.
8 # Also, configure the pipelines to be executed as "pipelines_to_test".
9 # For each of the pipelines identified by the name of your choice
10 #     ("pipeline_1" and "pipeline_2" in this sample), provide the following:
11 #   template_uuid: is the uuid of the template to be executed
12 #   input_paths: an array of inputs for the pipeline. Use either a collection's "uuid"
13 #     or a file's "uuid/file_name" path in this array. If the pipeline does not require
14 #     any inputs, this can be omitted. 
15 #   max_wait_seconds: max time in seconds to wait for the pipeline run to complete.
16 #     Default value of 30 seconds is used when this value is not provided.
17 diagnostics:
18   arvados_workbench_url: https://localhost:3000
19   user_tokens:
20     active: eu33jurqntstmwo05h1jr3eblmi961e802703y6657s8zb14r
21   pipelines_to_test:
22     pipeline_1:
23       template_uuid: zzzzz-p5p6p-rxj8d71854j9idn
24       input_paths: [zzzzz-4zz18-nz98douzhaa3jh2]
25       max_wait_seconds: 10
26     pipeline_2:
27       template_uuid: zzzzz-p5p6p-1xbobfobk94ppbv
28       input_paths: [zzzzz-4zz18-nz98douzhaa3jh2, zzzzz-4zz18-gpw9o5wpcti3nib]
29
30 development:
31   cache_classes: false
32   eager_load: true
33   consider_all_requests_local: true
34   action_controller.perform_caching: false
35   action_mailer.raise_delivery_errors: false
36   active_support.deprecation: :log
37   action_dispatch.best_standards_support: :builtin
38   assets.debug: true
39   profiling_enabled: true
40   site_name: Arvados Workbench (dev)
41   local_modified: <%= '-modified' if `git status -s` %>
42
43 production:
44   force_ssl: true
45   cache_classes: true
46   eager_load: true
47   consider_all_requests_local: false
48   action_controller.perform_caching: true
49   serve_static_assets: false
50   assets.compile: false
51   assets.digest: true
52   i18n.fallbacks: true
53   active_support.deprecation: :notify
54   profiling_enabled: false
55
56   arvados_insecure_https: false
57
58   data_import_dir: /data/arvados-workbench-upload/data
59   data_export_dir: /data/arvados-workbench-download/data
60
61   site_name: Arvados Workbench
62
63 test:
64   cache_classes: true
65   eager_load: false
66   serve_static_assets: true
67   static_cache_control: public, max-age=3600
68   consider_all_requests_local: true
69   action_controller.perform_caching: false
70   action_dispatch.show_exceptions: false
71   action_controller.allow_forgery_protection: false
72   action_mailer.delivery_method: :test
73   active_support.deprecation: :stderr
74   profiling_enabled: false
75   secret_token: <%= rand(2**256).to_s(36) %>
76   secret_key_base: <%= rand(2**256).to_s(36) %>
77
78   # When you run the Workbench's integration tests, it starts the API
79   # server as a dependency.  These settings should match the API
80   # server's Rails defaults.  If you adjust those, change these
81   # settings in application.yml to match.
82   arvados_login_base: https://localhost:3001/login
83   arvados_v1_base: https://localhost:3001/arvados/v1
84   arvados_insecure_https: true
85
86   site_name: Workbench:test
87
88   # Enable user profile with one required field
89   user_profile_form_fields:
90     - key: organization
91       type: text
92       form_field_title: Institution
93       form_field_description: Your organization
94       required: true
95     - key: role
96       type: select
97       form_field_title: Your role
98       form_field_description: Choose the category that best describes your role in your organization.
99       options:
100         - Bio-informatician
101         - Computational biologist
102         - Biologist or geneticist
103         - Software developer
104         - IT
105         - Other
106
107 common:
108   assets.js_compressor: false
109   assets.css_compressor: false
110   data_import_dir: /tmp/arvados-workbench-upload
111   data_export_dir: /tmp/arvados-workbench-download
112   arvados_login_base: https://arvados.local/login
113   arvados_v1_base: https://arvados.local/arvados/v1
114   arvados_insecure_https: true
115   activation_contact_link: mailto:info@arvados.org
116   arvados_docsite: http://doc.arvados.org
117   arvados_theme: default
118   show_user_agreement_inline: false
119   secret_token: ~
120   secret_key_base: false
121   default_openid_prefix: https://www.google.com/accounts/o8/id
122   send_user_setup_notification_email: true
123
124   # Set user_profile_form_fields to enable and configure the user profile page.
125   # Default is set to false. A commented setting with full description is provided below.
126   user_profile_form_fields: false
127
128   # Below is a sample setting of user_profile_form_fields config parameter.
129   # This configuration parameter should be set to either false (to disable) or
130   # to an array as shown below. 
131   # Configure the list of input fields to be displayed in the profile page
132   # using the attribute "key" for each of the input fields.
133   # This sample shows configuration with one required and one optional form fields.
134   # For each of these input fields:
135   #   You can specify "type" as "text" or "select".
136   #   List the "options" to be displayed for each of the "select" menu.
137   #   Set "required" as "true" for any of these fields to make them required.
138   # If any of the required fields are missing in the user's profile, the user will be
139   # redirected to the profile page before they can access any Workbench features.
140   #user_profile_form_fields:
141   #  - key: organization
142   #    type: text
143   #    form_field_title: Institution/Company
144   #    form_field_description: Your organization
145   #    required: true
146   #  - key: role
147   #    type: select
148   #    form_field_title: Your role
149   #    form_field_description: Choose the category that best describes your role in your organization.
150   #    options:
151   #      - Bio-informatician
152   #      - Computational biologist
153   #      - Biologist or geneticist
154   #      - Software developer
155   #      - IT
156   #      - Other
157
158   # Use "user_profile_form_message" to configure the message you want to display on
159   # the profile page.
160   user_profile_form_message: Welcome to Arvados. All <span style="color:red">required fields</span> must be completed before you can proceed.
161
162   # source_version
163   source_version: "<%= `git log -n 1 --format=%h` %>"
164   local_modified: false
165
166   # report notification to and from addresses
167   issue_reporter_email_from: arvados@example.com
168   issue_reporter_email_to: arvados@example.com
169   support_email_address: arvados@example.com
170
171   # filename suffixes for which view icon would be shown in collection show page
172   filename_suffixes_with_view_icon: [txt, gif, jpeg, jpg, png, html, htm, pdf]