Add 'apps/arv-web/' from commit 'f9732ad8460d013c2f28363655d0d1b91894dca5'
[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_theme: default
135   show_user_agreement_inline: false
136   secret_token: ~
137   secret_key_base: false
138   default_openid_prefix: https://www.google.com/accounts/o8/id
139   send_user_setup_notification_email: true
140
141   # Set user_profile_form_fields to enable and configure the user profile page.
142   # Default is set to false. A commented setting with full description is provided below.
143   user_profile_form_fields: false
144
145   # Below is a sample setting of user_profile_form_fields config parameter.
146   # This configuration parameter should be set to either false (to disable) or
147   # to an array as shown below. 
148   # Configure the list of input fields to be displayed in the profile page
149   # using the attribute "key" for each of the input fields.
150   # This sample shows configuration with one required and one optional form fields.
151   # For each of these input fields:
152   #   You can specify "type" as "text" or "select".
153   #   List the "options" to be displayed for each of the "select" menu.
154   #   Set "required" as "true" for any of these fields to make them required.
155   # If any of the required fields are missing in the user's profile, the user will be
156   # redirected to the profile page before they can access any Workbench features.
157   #user_profile_form_fields:
158   #  - key: organization
159   #    type: text
160   #    form_field_title: Institution/Company
161   #    form_field_description: Your organization
162   #    required: true
163   #  - key: role
164   #    type: select
165   #    form_field_title: Your role
166   #    form_field_description: Choose the category that best describes your role in your organization.
167   #    options:
168   #      - Bio-informatician
169   #      - Computational biologist
170   #      - Biologist or geneticist
171   #      - Software developer
172   #      - IT
173   #      - Other
174
175   # Use "user_profile_form_message" to configure the message you want to display on
176   # the profile page.
177   user_profile_form_message: Welcome to Arvados. All <span style="color:red">required fields</span> must be completed before you can proceed.
178
179   # source_version
180   source_version: "<%= `git log -n 1 --format=%h`.strip %>"
181   local_modified: false
182
183   # report notification to and from addresses
184   issue_reporter_email_from: arvados@example.com
185   issue_reporter_email_to: arvados@example.com
186   support_email_address: arvados@example.com
187
188   # filename suffixes for which view icon would be shown in collection show page
189   filename_suffixes_with_view_icon: [txt, gif, jpeg, jpg, png, html, htm, pdf]
190
191   # the maximum number of bytes to load in the log viewer
192   log_viewer_max_bytes: 1000000