Merge branch 'master' into 3296-user-profile
[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 sample configures two fields as represented by the attribute "key".
84   # You can specify "type" as "text" or "select".
85   # Specify "options" when using the type "select".
86   # Set "required" as "true" for any of the fields to make them required. 
87   # If any of the required fields are missing in the user's profile, the user will be
88   # redirected to the "/profile" page before they can access any Workbench features.
89   #user_profile_form_fields:
90   #  - key: organization
91   #    type: text
92   #    form_field_title: Institution/Company
93   #    form_field_description: Your organization
94   #    required: true
95   #  - key: role
96   #    type: select
97   #    form_field_title: Your role
98   #    form_field_description: Choose the category that best describes your role in your lab.
99   #    options:
100   #      - Bio-informatician
101   #      - Computational biologist
102   #      - Biologist or geneticist
103   #      - Software developer
104   #      - IT
105   #      - Other