3296: improve config parameter explanation
[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 development:
5   cache_classes: false
6   eager_load: true
7   consider_all_requests_local: true
8   action_controller.perform_caching: false
9   action_mailer.raise_delivery_errors: false
10   active_support.deprecation: :log
11   action_dispatch.best_standards_support: :builtin
12   assets.debug: true
13   profiling_enabled: true
14   site_name: Arvados Workbench (dev)
15
16 production:
17   force_ssl: true
18   cache_classes: true
19   eager_load: true
20   consider_all_requests_local: false
21   action_controller.perform_caching: true
22   serve_static_assets: false
23   assets.compile: false
24   assets.digest: true
25   i18n.fallbacks: true
26   active_support.deprecation: :notify
27   profiling_enabled: false
28
29   arvados_insecure_https: false
30
31   data_import_dir: /data/arvados-workbench-upload/data
32   data_export_dir: /data/arvados-workbench-download/data
33
34   site_name: Arvados Workbench
35
36 test:
37   cache_classes: true
38   eager_load: false
39   serve_static_assets: true
40   static_cache_control: public, max-age=3600
41   consider_all_requests_local: true
42   action_controller.perform_caching: false
43   action_dispatch.show_exceptions: false
44   action_controller.allow_forgery_protection: false
45   action_mailer.delivery_method: :test
46   active_support.deprecation: :stderr
47   profiling_enabled: false
48   secret_token: <%= rand(2**256).to_s(36) %>
49   secret_key_base: <%= rand(2**256).to_s(36) %>
50
51   # When you run the Workbench's integration tests, it starts the API
52   # server as a dependency.  These settings should match the API
53   # server's Rails defaults.  If you adjust those, change these
54   # settings in application.yml to match.
55   arvados_login_base: https://localhost:3001/login
56   arvados_v1_base: https://localhost:3001/arvados/v1
57   arvados_insecure_https: true
58
59   site_name: Workbench:test
60
61 common:
62   assets.js_compressor: false
63   assets.css_compressor: false
64   data_import_dir: /tmp/arvados-workbench-upload
65   data_export_dir: /tmp/arvados-workbench-download
66   arvados_login_base: https://arvados.local/login
67   arvados_v1_base: https://arvados.local/arvados/v1
68   arvados_insecure_https: true
69   activation_contact_link: mailto:info@arvados.org
70   arvados_docsite: http://doc.arvados.org
71   arvados_theme: default
72   show_user_agreement_inline: false
73   secret_token: ~
74   secret_key_base: false
75   default_openid_prefix: https://www.google.com/accounts/o8/id
76   send_user_setup_notification_email: true
77
78   # Set user_profile_form_fields to enable and configure the user profile page.
79   # A commented setting with full description is provided below.
80   user_profile_form_fields: false
81
82   # Below is a sample setting of user_profile_form_fields.
83   # This configuration parameter should be set to either false (to disable) or
84   # to an array as shown below. This parameter supports two types of fields,
85   # an optional "message" and an optional list of input fields.
86   # Use "message" to configure the message you want to display at the top of the
87   # profile page. If this is not provided, a default message will be displayed.
88   # Configure the list of input fields to be displayed in the profile page
89   # using the attribute "key" for each of the input fields.
90   # This sample shows configuration with message and two input fields.
91   # For each of these input fields:
92   #   You can specify "type" as "text" or "select".
93   #   List the "options" to be displayed for each of the "select" menu.
94   #   Set "required" as "true" for any of the fields to make them required.
95   # If any of the required fields are missing in the user's profile, the user will be
96   # redirected to the profile page before they can access any Workbench features.
97   #user_profile_form_fields:
98   #  - message: Welcome to Curoverse. Any fields in red are required and missing. Please fill in those fields before you can access Arvados Workbench.
99   #  - key: organization
100   #    type: text
101   #    form_field_title: Institution/Company
102   #    form_field_description: Your organization
103   #    required: true
104   #  - key: role
105   #    type: select
106   #    form_field_title: Your role
107   #    form_field_description: Choose the category that best describes your role in your lab.
108   #    options:
109   #      - Bio-informatician
110   #      - Computational biologist
111   #      - Biologist or geneticist
112   #      - Software developer
113   #      - IT
114   #      - Other
115
116   # email address to which mail should be sent when the user creates profile for the first time
117   user_profile_notification_address: false