Merge branch 'master' into 3782-large-job-logs
[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 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   # API server configuration
44   arvados_login_base: ~
45   arvados_v1_base: ~
46   arvados_insecure_https: ~
47
48 production:
49   force_ssl: true
50   cache_classes: true
51   eager_load: true
52   consider_all_requests_local: false
53   action_controller.perform_caching: true
54   serve_static_assets: false
55   assets.compile: false
56   assets.digest: true
57   i18n.fallbacks: true
58   active_support.deprecation: :notify
59   profiling_enabled: false
60
61   arvados_insecure_https: false
62
63   data_import_dir: /data/arvados-workbench-upload/data
64   data_export_dir: /data/arvados-workbench-download/data
65
66   # API server configuration
67   arvados_login_base: ~
68   arvados_v1_base: ~
69   arvados_insecure_https: ~
70
71   site_name: Arvados Workbench
72
73 test:
74   cache_classes: true
75   eager_load: false
76   serve_static_assets: true
77   static_cache_control: public, max-age=3600
78   consider_all_requests_local: true
79   action_controller.perform_caching: false
80   action_dispatch.show_exceptions: false
81   action_controller.allow_forgery_protection: false
82   action_mailer.delivery_method: :test
83   active_support.deprecation: :stderr
84   profiling_enabled: false
85   secret_token: <%= rand(2**256).to_s(36) %>
86   secret_key_base: <%= rand(2**256).to_s(36) %>
87
88   # When you run the Workbench's integration tests, it starts the API
89   # server as a dependency.  These settings should match the API
90   # server's Rails defaults.  If you adjust those, change these
91   # settings in application.yml to match.
92   arvados_login_base: https://localhost:3000/login
93   arvados_v1_base: https://localhost:3000/arvados/v1
94   arvados_insecure_https: true
95
96   site_name: Workbench:test
97
98   # Enable user profile with one required field
99   user_profile_form_fields:
100     - key: organization
101       type: text
102       form_field_title: Institution
103       form_field_description: Your organization
104       required: true
105     - key: role
106       type: select
107       form_field_title: Your role
108       form_field_description: Choose the category that best describes your role in your organization.
109       options:
110         - Bio-informatician
111         - Computational biologist
112         - Biologist or geneticist
113         - Software developer
114         - IT
115         - Other
116
117 common:
118   assets.js_compressor: false
119   assets.css_compressor: false
120   data_import_dir: /tmp/arvados-workbench-upload
121   data_export_dir: /tmp/arvados-workbench-download
122   arvados_login_base: https://arvados.local/login
123   arvados_v1_base: https://arvados.local/arvados/v1
124   arvados_insecure_https: true
125   activation_contact_link: mailto:info@arvados.org
126   arvados_docsite: http://doc.arvados.org
127   arvados_theme: default
128   show_user_agreement_inline: false
129   secret_token: ~
130   secret_key_base: false
131   default_openid_prefix: https://www.google.com/accounts/o8/id
132   send_user_setup_notification_email: true
133
134   # Set user_profile_form_fields to enable and configure the user profile page.
135   # Default is set to false. A commented setting with full description is provided below.
136   user_profile_form_fields: false
137
138   # Below is a sample setting of user_profile_form_fields config parameter.
139   # This configuration parameter should be set to either false (to disable) or
140   # to an array as shown below. 
141   # Configure the list of input fields to be displayed in the profile page
142   # using the attribute "key" for each of the input fields.
143   # This sample shows configuration with one required and one optional form fields.
144   # For each of these input fields:
145   #   You can specify "type" as "text" or "select".
146   #   List the "options" to be displayed for each of the "select" menu.
147   #   Set "required" as "true" for any of these fields to make them required.
148   # If any of the required fields are missing in the user's profile, the user will be
149   # redirected to the profile page before they can access any Workbench features.
150   #user_profile_form_fields:
151   #  - key: organization
152   #    type: text
153   #    form_field_title: Institution/Company
154   #    form_field_description: Your organization
155   #    required: true
156   #  - key: role
157   #    type: select
158   #    form_field_title: Your role
159   #    form_field_description: Choose the category that best describes your role in your organization.
160   #    options:
161   #      - Bio-informatician
162   #      - Computational biologist
163   #      - Biologist or geneticist
164   #      - Software developer
165   #      - IT
166   #      - Other
167
168   # Use "user_profile_form_message" to configure the message you want to display on
169   # the profile page.
170   user_profile_form_message: Welcome to Arvados. All <span style="color:red">required fields</span> must be completed before you can proceed.
171
172   # source_version
173   source_version: "<%= `git log -n 1 --format=%h` %>"
174   local_modified: false
175
176   # report notification to and from addresses
177   issue_reporter_email_from: arvados@example.com
178   issue_reporter_email_to: arvados@example.com
179   support_email_address: arvados@example.com
180
181   # filename suffixes for which view icon would be shown in collection show page
182   filename_suffixes_with_view_icon: [txt, gif, jpeg, jpg, png, html, htm, pdf]
183
184   # the maximum number of bytes to load in the log viewer
185   log_viewer_max_bytes: 1000000