Merge branch 'master' into 3198-writable-fuse
[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:3031
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 # Below is a sample setting for performance testing.
31 # Configure workbench URL as "arvados_workbench_url"
32 # Configure test user token as "user_token".
33 performance:
34   arvados_workbench_url: https://localhost:3031
35   user_token: eu33jurqntstmwo05h1jr3eblmi961e802703y6657s8zb14r
36
37 development:
38   cache_classes: false
39   eager_load: true
40   consider_all_requests_local: true
41   action_controller.perform_caching: false
42   action_mailer.raise_delivery_errors: false
43   active_support.deprecation: :log
44   action_dispatch.best_standards_support: :builtin
45   assets.debug: true
46   profiling_enabled: true
47   site_name: Arvados Workbench (dev)
48   local_modified: "<%= '-modified' if `git status -s` != '' %>"
49
50   # API server configuration
51   arvados_login_base: ~
52   arvados_v1_base: ~
53   arvados_insecure_https: ~
54
55 production:
56   force_ssl: true
57   cache_classes: true
58   eager_load: true
59   consider_all_requests_local: false
60   action_controller.perform_caching: true
61   serve_static_assets: false
62   assets.compile: false
63   assets.digest: true
64   i18n.fallbacks: true
65   active_support.deprecation: :notify
66   profiling_enabled: false
67
68   arvados_insecure_https: false
69
70   data_import_dir: /data/arvados-workbench-upload/data
71   data_export_dir: /data/arvados-workbench-download/data
72
73   # API server configuration
74   arvados_login_base: ~
75   arvados_v1_base: ~
76   arvados_insecure_https: ~
77
78   site_name: Arvados Workbench
79
80 test:
81   cache_classes: true
82   eager_load: false
83   serve_static_assets: true
84   static_cache_control: public, max-age=3600
85   consider_all_requests_local: true
86   action_controller.perform_caching: false
87   action_dispatch.show_exceptions: false
88   action_controller.allow_forgery_protection: false
89   action_mailer.delivery_method: :test
90   active_support.deprecation: :stderr
91   profiling_enabled: false
92   secret_token: <%= rand(2**256).to_s(36) %>
93   secret_key_base: <%= rand(2**256).to_s(36) %>
94
95   # When you run the Workbench's integration tests, it starts the API
96   # server as a dependency.  These settings should match the API
97   # server's Rails defaults.  If you adjust those, change these
98   # settings in application.yml to match.
99   arvados_login_base: https://localhost:3000/login
100   arvados_v1_base: https://localhost:3000/arvados/v1
101   arvados_insecure_https: true
102
103   site_name: Workbench:test
104
105   # Enable user profile with one required field
106   user_profile_form_fields:
107     - key: organization
108       type: text
109       form_field_title: Institution
110       form_field_description: Your organization
111       required: true
112     - key: role
113       type: select
114       form_field_title: Your role
115       form_field_description: Choose the category that best describes your role in your organization.
116       options:
117         - Bio-informatician
118         - Computational biologist
119         - Biologist or geneticist
120         - Software developer
121         - IT
122         - Other
123
124 common:
125   assets.js_compressor: false
126   assets.css_compressor: false
127   data_import_dir: /tmp/arvados-workbench-upload
128   data_export_dir: /tmp/arvados-workbench-download
129   arvados_login_base: https://arvados.local/login
130   arvados_v1_base: https://arvados.local/arvados/v1
131   arvados_insecure_https: true
132   activation_contact_link: mailto:info@arvados.org
133   arvados_docsite: http://doc.arvados.org
134   arvados_public_data_doc_url: http://arvados.org/projects/arvados/wiki/Public_Pipelines_and_Datasets
135   arvados_theme: default
136   show_user_agreement_inline: false
137   secret_token: ~
138   secret_key_base: false
139   default_openid_prefix: https://www.google.com/accounts/o8/id
140   send_user_setup_notification_email: true
141
142   # Set user_profile_form_fields to enable and configure the user profile page.
143   # Default is set to false. A commented setting with full description is provided below.
144   user_profile_form_fields: false
145
146   # Below is a sample setting of user_profile_form_fields config parameter.
147   # This configuration parameter should be set to either false (to disable) or
148   # to an array as shown below. 
149   # Configure the list of input fields to be displayed in the profile page
150   # using the attribute "key" for each of the input fields.
151   # This sample shows configuration with one required and one optional form fields.
152   # For each of these input fields:
153   #   You can specify "type" as "text" or "select".
154   #   List the "options" to be displayed for each of the "select" menu.
155   #   Set "required" as "true" for any of these fields to make them required.
156   # If any of the required fields are missing in the user's profile, the user will be
157   # redirected to the profile page before they can access any Workbench features.
158   #user_profile_form_fields:
159   #  - key: organization
160   #    type: text
161   #    form_field_title: Institution/Company
162   #    form_field_description: Your organization
163   #    required: true
164   #  - key: role
165   #    type: select
166   #    form_field_title: Your role
167   #    form_field_description: Choose the category that best describes your role in your organization.
168   #    options:
169   #      - Bio-informatician
170   #      - Computational biologist
171   #      - Biologist or geneticist
172   #      - Software developer
173   #      - IT
174   #      - Other
175
176   # Use "user_profile_form_message" to configure the message you want to display on
177   # the profile page.
178   user_profile_form_message: Welcome to Arvados. All <span style="color:red">required fields</span> must be completed before you can proceed.
179
180   # source_version
181   source_version: "<%= `git log -n 1 --format=%h`.strip %>"
182   local_modified: false
183
184   # report notification to and from addresses
185   issue_reporter_email_from: arvados@example.com
186   issue_reporter_email_to: arvados@example.com
187   support_email_address: arvados@example.com
188
189   # generic issue email from
190   email_from: arvados@example.com
191
192   # Mimetypes of applications for which the view icon
193   # would be enabled in a collection's show page.
194   # It is sufficient to list only applications here.
195   # No need to list text and image types.
196   application_mimetypes_with_view_icon: [fasta, go, javascript, json, pdf, python, r, rtf, sam, sh, xml, xsl]
197
198   # the maximum number of bytes to load in the log viewer
199   log_viewer_max_bytes: 1000000
200
201   # Set anonymous_user_token to enable anonymous user access. You can get
202   # the token by running "bundle exec ./script/get_anonymous_user_token.rb"
203   # in the directory where your API server is running.
204   anonymous_user_token: false
205
206   # Include Accept-Encoding header when making API requests
207   include_accept_encoding_header_in_api_requests: true