e28f76ae29f26e5f51a655c2f747cd270c9673d8
[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   # Scratch directory used by the remote repository browsing
143   # feature. If it doesn't exist, it (and any missing parents) will be
144   # created using mkdir_p.
145   repository_cache: <%= File.expand_path 'tmp/git', Rails.root %>
146
147   # Set user_profile_form_fields to enable and configure the user
148   # profile page. Default is set to false. A commented example with
149   # full description is provided below.
150   user_profile_form_fields: false
151
152   # Below is a sample setting of user_profile_form_fields config parameter.
153   # This configuration parameter should be set to either false (to disable) or
154   # to an array as shown below. 
155   # Configure the list of input fields to be displayed in the profile page
156   # using the attribute "key" for each of the input fields.
157   # This sample shows configuration with one required and one optional form fields.
158   # For each of these input fields:
159   #   You can specify "type" as "text" or "select".
160   #   List the "options" to be displayed for each of the "select" menu.
161   #   Set "required" as "true" for any of these fields to make them required.
162   # If any of the required fields are missing in the user's profile, the user will be
163   # redirected to the profile page before they can access any Workbench features.
164   #user_profile_form_fields:
165   #  - key: organization
166   #    type: text
167   #    form_field_title: Institution/Company
168   #    form_field_description: Your organization
169   #    required: true
170   #  - key: role
171   #    type: select
172   #    form_field_title: Your role
173   #    form_field_description: Choose the category that best describes your role in your organization.
174   #    options:
175   #      - Bio-informatician
176   #      - Computational biologist
177   #      - Biologist or geneticist
178   #      - Software developer
179   #      - IT
180   #      - Other
181
182   # Use "user_profile_form_message" to configure the message you want to display on
183   # the profile page.
184   user_profile_form_message: Welcome to Arvados. All <span style="color:red">required fields</span> must be completed before you can proceed.
185
186   # source_version
187   source_version: "<%= `git log -n 1 --format=%h`.strip %>"
188   local_modified: false
189
190   # report notification to and from addresses
191   issue_reporter_email_from: arvados@example.com
192   issue_reporter_email_to: arvados@example.com
193   support_email_address: arvados@example.com
194
195   # generic issue email from
196   email_from: arvados@example.com
197
198   # Mimetypes of applications for which the view icon
199   # would be enabled in a collection's show page.
200   # It is sufficient to list only applications here.
201   # No need to list text and image types.
202   application_mimetypes_with_view_icon: [fasta, go, javascript, json, pdf, python, r, rtf, sam, sh, xml, xsl]
203
204   # the maximum number of bytes to load in the log viewer
205   log_viewer_max_bytes: 1000000
206
207   # Set anonymous_user_token to enable anonymous user access. You can get
208   # the token by running "bundle exec ./script/get_anonymous_user_token.rb"
209   # in the directory where your API server is running.
210   anonymous_user_token: false
211
212   # Enable response payload compression in Arvados API requests.
213   include_accept_encoding_header_in_api_requests: true
214
215   # Enable repository browsing even if git2 is installed. Repository
216   # browsing requires credential helpers, which do not work reliably
217   # as of git version 2.1.4. If you have git version 2.* and you want
218   # to use it anyway, change this to true.
219   use_git2_despite_bug_risk: false