Merge branch 'master' into 3373-improve-gatk3-snv-pipeline
[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   secret_token: <%= rand(2**512).to_s(36) %>
44   blob_signing_key: <%= rand(2**512).to_s(36) %>
45
46 common:
47   uuid_prefix: <%= Digest::MD5.hexdigest(`hostname`).to_i(16).to_s(36)[0..4] %>
48
49   # Git repositories must be readable by api server, or you won't be
50   # able to submit crunch jobs. To pass the test suites, put a clone
51   # of the arvados tree in {git_repositories_dir}/arvados.git or
52   # {git_repositories_dir}/arvados/.git
53   git_repositories_dir: /var/lib/arvados/git
54
55   # This is a (bare) repository that stores commits used in jobs.  When a job
56   # runs, the source commits are first fetched into this repository, then this
57   # repository is used to deploy to compute nodes.  This should NOT be a
58   # subdirectory of {git_repositiories_dir}.
59   git_internal_dir: /var/lib/arvados/internal.git
60
61   # :none or :slurm_immediate
62   crunch_job_wrapper: :none
63
64   # username, or false = do not set uid when running jobs.
65   crunch_job_user: crunch
66
67   # The web service must be able to create/write this file, and
68   # crunch-job must be able to stat() it.
69   crunch_refresh_trigger: /tmp/crunch_refresh_trigger
70
71   # Maximum number of log events that may be generated by a single job.
72   crunch_limit_log_events_per_job: 65536
73
74   # Maximum number of total bytes that may be logged by a single job.
75   crunch_limit_log_event_bytes_per_job: 67108864
76
77   # These two settings control how frequently log events are flushed
78   # to the database.  If a job generates two or more events within
79   # crunch_log_seconds_between_events, the log data is not flushed
80   # until crunch_log_bytes_per_event has been reached.
81   crunch_log_bytes_per_event: 4096
82   crunch_log_seconds_between_events: 1
83
84   # Path to /etc/dnsmasq.d, or false = do not update dnsmasq data.
85   dnsmasq_conf_dir: false
86
87   # Set to AMI id (ami-123456) to auto-start nodes. See app/models/node.rb
88   compute_node_ami: false
89   compute_node_ec2run_args: -g arvados-compute
90   compute_node_spot_bid: 0.11
91
92   compute_node_domain: false
93   compute_node_nameservers:
94     - 192.168.1.1
95   compute_node_ec2_tag_enable: false
96
97   # The version below is suitable for AWS.
98   # To use it, copy it to your application.yml, uncomment, and change <%# to <%=
99   # compute_node_nameservers: <%#
100   #   require 'net/http'
101   #   ['local', 'public'].collect do |iface|
102   #     Net::HTTP.get(URI("http://169.254.169.254/latest/meta-data/#{iface}-ipv4")).match(/^[\d\.]+$/)[0]
103   #   end << '172.16.0.23'
104   # %>
105
106   accept_api_token: {}
107
108   new_users_are_active: false
109   admin_notifier_email_from: arvados@example.com
110   email_subject_prefix: "[ARVADOS] "
111   user_notifier_email_from: arvados@example.com
112   new_user_notification_recipients: [ ]
113   new_inactive_user_notification_recipients: [ ]
114
115   # Visitors to the API server will be redirected to the workbench
116   workbench_address: https://workbench.local:3001/
117
118   # The e-mail address of the user you would like to become marked as an admin
119   # user on their first login.
120   # In the default configuration, authentication happens through the Arvados SSO
121   # server, which uses openid against Google's servers, so in that case this
122   # should be an address associated with a Google account.
123   auto_admin_user: false
124
125   ## Set Time.zone default to the specified zone and make Active
126   ## Record auto-convert to this zone.  Run "rake -D time" for a list
127   ## of tasks for finding time zone names. Default is UTC.
128   #time_zone: Central Time (US & Canada)
129
130   ## Default encoding used in templates for Ruby 1.9.
131   encoding: utf-8
132
133   # Enable the asset pipeline
134   assets.enabled: true
135
136   # Version of your assets, change this if you want to expire all your assets
137   assets.version: "1.0"
138
139   arvados_theme: default
140
141   # Default: do not advertise a websocket server.
142   websocket_address: false
143
144   # You can run the websocket server separately from the regular HTTP service
145   # by setting "ARVADOS_WEBSOCKETS=ws-only" in the environment before running
146   # the websocket server.  When you do this, you need to set the following
147   # configuration variable so that the primary server can give out the correct
148   # address of the dedicated websocket server:
149   #websocket_address: wss://127.0.0.1:3333/websocket
150
151   # blob_signing_key is a string of alphanumeric characters used to
152   # generate permission signatures for Keep locators. It must be
153   # identical to the permission key given to Keep. IMPORTANT: This is
154   # a site secret. It should be at least 50 characters.
155   blob_signing_key: ~
156
157   # Amount of time (in seconds) for which a blob permission signature
158   # remains valid.  Default: 2 weeks (1209600 seconds)
159   blob_signing_ttl: 1209600
160
161   # Allow clients to create collections by providing a manifest with
162   # unsigned data blob locators. IMPORTANT: This effectively disables
163   # access controls for data stored in Keep: a client who knows a hash
164   # can write a manifest that references the hash, pass it to
165   # collections.create (which will create a permission link), use
166   # collections.get to obtain a signature for that data locator, and
167   # use that signed locator to retrieve the data from Keep. Therefore,
168   # do not turn this on if your users expect to keep data private from
169   # one another!
170   permit_create_collection_with_unsigned_manifest: false
171
172   # secret_token is a string of alphanumeric characters used by Rails
173   # to sign session tokens. IMPORTANT: This is a site secret. It
174   # should be at least 50 characters.
175   secret_token: ~