Merge branch 'master' into 1971-show-image-thumbnails
[arvados.git] / services / api / 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   force_ssl: false
6   cache_classes: false
7   whiny_nils: true
8   consider_all_requests_local: true
9   action_controller.perform_caching: false
10   action_mailer.raise_delivery_errors: false
11   action_mailer.perform_deliveries: false
12   active_support.deprecation: :log
13   action_dispatch.best_standards_support: :builtin
14   active_record.mass_assignment_sanitizer: :strict
15   active_record.auto_explain_threshold_in_seconds: 0.5
16   assets.compress: false
17   assets.debug: true
18
19 production:
20   force_ssl: true
21   cache_classes: true
22   consider_all_requests_local: false
23   action_controller.perform_caching: true
24   serve_static_assets: false
25   assets.compress: true
26   assets.compile: false
27   assets.digest: true
28
29 test:
30   force_ssl: false
31   cache_classes: true
32   serve_static_assets: true
33   static_cache_control: public, max-age=3600
34   whiny_nils: true
35   consider_all_requests_local: true
36   action_controller.perform_caching: false
37   action_dispatch.show_exceptions: false
38   action_controller.allow_forgery_protection: false
39   action_mailer.delivery_method: :test
40   active_support.deprecation: :stderr
41   active_record.mass_assignment_sanitizer: :strict
42   uuid_prefix: zzzzz
43
44 common:
45   secret_token: ~
46   uuid_prefix: <%= Digest::MD5.hexdigest(`hostname`).to_i(16).to_s(36)[0..4] %>
47
48   # Git repositories must be readable by api server, or you won't be
49   # able to submit crunch jobs. To pass the test suites, put a clone
50   # of the arvados tree in {git_repositories_dir}/arvados.git or
51   # {git_repositories_dir}/arvados/.git
52   git_repositories_dir: /var/lib/arvados/git
53
54   # This is a (bare) repository that stores commits used in jobs.  When a job
55   # runs, the source commits are first fetched into this repository, then this
56   # repository is used to deploy to compute nodes.  This should NOT be a
57   # subdirectory of {git_repositiories_dir}.
58   git_internal_dir: /var/lib/arvados/internal.git
59
60   # :none or :slurm_immediate
61   crunch_job_wrapper: :none
62
63   # username, or false = do not set uid when running jobs.
64   crunch_job_user: crunch
65
66   # The web service must be able to create/write this file, and
67   # crunch-job must be able to stat() it.
68   crunch_refresh_trigger: /tmp/crunch_refresh_trigger
69
70   # Path to /etc/dnsmasq.d, or false = do not update dnsmasq data.
71   dnsmasq_conf_dir: false
72
73   # Set to AMI id (ami-123456) to auto-start nodes. See app/models/node.rb
74   compute_node_ami: false
75   compute_node_ec2run_args: -g arvados-compute
76   compute_node_spot_bid: 0.11
77
78   compute_node_domain: false
79   compute_node_nameservers:
80     - 192.168.1.1
81   compute_node_ec2_tag_enable: false
82
83   accept_api_token: {}
84
85   new_users_are_active: false
86   admin_notifier_email_from: arvados@example.com
87   email_subject_prefix: "[ARVADOS] "
88   user_notifier_email_from: arvados@example.com
89
90   # Visitors to the API server will be redirected to the workbench
91   workbench_address: https://workbench.local:3001/
92
93   # The e-mail address of the user you would like to become marked as an admin
94   # user on their first login.
95   # In the default configuration, authentication happens through the Arvados SSO
96   # server, which uses openid against Google's servers, so in that case this
97   # should be an address associated with a Google account.
98   auto_admin_user: false
99
100   ## Set Time.zone default to the specified zone and make Active
101   ## Record auto-convert to this zone.  Run "rake -D time" for a list
102   ## of tasks for finding time zone names. Default is UTC.
103   #time_zone: Central Time (US & Canada)
104
105   ## Default encoding used in templates for Ruby 1.9.
106   encoding: utf-8
107
108   # Enable the asset pipeline
109   assets.enabled: true
110
111   # Version of your assets, change this if you want to expire all your assets
112   assets.version: "1.0"
113
114   arvados_theme: default