1 # Copyright (C) The Arvados Authors. All rights reserved.
3 # SPDX-License-Identifier: AGPL-3.0
5 # Do not use this file for site configuration. Create
6 # /etc/arvados/config.yml instead.
8 # The order of precedence (highest to lowest):
9 # 1. Legacy component-specific config files (deprecated)
10 # 2. /etc/arvados/config.yml
11 # 3. config.default.yml
17 # Token to be included in all healthcheck requests. Disabled by default.
18 # Server expects request header of the format "Authorization: Bearer xxx"
78 # max concurrent connections per arvados server daemon
81 # All parameters here are passed to the PG client library in a connection string;
82 # see https://www.postgresql.org/docs/current/static/libpq-connect.html#LIBPQ-PARAMKEYWORDS
89 # Maximum size (in bytes) allowed for a single API request. This
90 # limit is published in the discovery document for use by clients.
91 # Note: You must separately configure the upstream web server or
92 # proxy to actually enforce the desired maximum request size on the
94 MaxRequestSize: 134217728
96 # Limit the number of bytes read from the database during an index
97 # request (by retrieving and returning fewer rows than would
98 # normally be returned in a single response).
99 # Note 1: This setting never reduces the number of returned rows to
100 # zero, no matter how big the first data row is.
101 # Note 2: Currently, this is only checked against a specific set of
102 # columns that tend to get large (collections.manifest_text,
103 # containers.mounts, workflows.definition). Other fields (e.g.,
104 # "properties" hashes) are not counted against this limit.
105 MaxIndexDatabaseRead: 134217728
107 # Maximum number of items to return when responding to a APIs that
108 # can return partial result sets using limit and offset parameters
109 # (e.g., *.index, groups.contents). If a request specifies a "limit"
110 # parameter higher than this value, this value is used instead.
111 MaxItemsPerResponse: 1000
113 # API methods to disable. Disabled methods are not listed in the
114 # discovery document, and respond 404 to all requests.
115 # Example: ["jobs.create", "pipeline_instances.create"]
118 # Interval (seconds) between asynchronous permission view updates. Any
119 # permission-updating API called with the 'async' parameter schedules a an
120 # update on the permission view in the future, if not already scheduled.
121 AsyncPermissionsUpdateInterval: 20s
123 # Maximum number of concurrent outgoing requests to make while
124 # serving a single incoming multi-cluster (federated) request.
125 MaxRequestAmplification: 4
127 # RailsSessionSecretToken is a string of alphanumeric characters
128 # used by Rails to sign session tokens. IMPORTANT: This is a
129 # site secret. It should be at least 50 characters.
130 RailsSessionSecretToken: ""
132 # Maximum wall clock time to spend handling an incoming request.
136 # Config parameters to automatically setup new users. If enabled,
137 # this users will be able to self-activate. Enable this if you want
138 # to run an open instance where anyone can create an account and use
139 # the system without requiring manual approval.
141 # The params auto_setup_new_users_with_* are meaningful only when auto_setup_new_users is turned on.
142 # auto_setup_name_blacklist is a list of usernames to be blacklisted for auto setup.
143 AutoSetupNewUsers: false
144 AutoSetupNewUsersWithVmUUID: ""
145 AutoSetupNewUsersWithRepository: false
146 AutoSetupUsernameBlacklist: [arvados, git, gitolite, gitolite-admin, root, syslog]
148 # When new_users_are_active is set to true, new users will be active
149 # immediately. This skips the "self-activate" step which enforces
150 # user agreements. Should only be enabled for development.
151 NewUsersAreActive: false
153 # The e-mail address of the user you would like to become marked as an admin
154 # user on their first login.
155 # In the default configuration, authentication happens through the Arvados SSO
156 # server, which uses OAuth2 against Google's servers, so in that case this
157 # should be an address associated with a Google account.
158 AutoAdminUserWithEmail: ""
160 # If auto_admin_first_user is set to true, the first user to log in when no
161 # other admin users exist will automatically become an admin user.
162 AutoAdminFirstUser: false
164 # Email address to notify whenever a user creates a profile for the
166 UserProfileNotificationAddress: ""
167 AdminNotifierEmailFrom: arvados@example.com
168 EmailSubjectPrefix: "[ARVADOS] "
169 UserNotifierEmailFrom: arvados@example.com
170 NewUserNotificationRecipients: []
171 NewInactiveUserNotificationRecipients: []
174 # Time to keep audit logs, in seconds. (An audit log is a row added
175 # to the "logs" table in the PostgreSQL database each time an
176 # Arvados object is created, modified, or deleted.)
178 # Currently, websocket event notifications rely on audit logs, so
179 # this should not be set lower than 300 (5 minutes).
182 # Maximum number of log rows to delete in a single SQL transaction.
184 # If max_audit_log_delete_batch is 0, log entries will never be
185 # deleted by Arvados. Cleanup can be done by an external process
186 # without affecting any Arvados system processes, as long as very
187 # recent (<5 minutes old) logs are not deleted.
189 # 100000 is a reasonable batch size for most sites.
192 # Attributes to suppress in events and audit logs. Notably,
193 # specifying ["manifest_text"] here typically makes the database
194 # smaller and faster.
196 # Warning: Using any non-empty value here can have undesirable side
197 # effects for any client or component that relies on event logs.
198 # Use at your own risk.
199 UnloggedAttributes: []
203 # Logging threshold: panic, fatal, error, warn, info, debug, or
207 # Logging format: json or text
210 # Maximum characters of (JSON-encoded) query parameters to include
211 # in each request log entry. When params exceed this size, they will
212 # be JSON-encoded, truncated to this size, and logged as
214 MaxRequestLogParamsSize: 2000
217 # Allow clients to create collections by providing a manifest with
218 # unsigned data blob locators. IMPORTANT: This effectively disables
219 # access controls for data stored in Keep: a client who knows a hash
220 # can write a manifest that references the hash, pass it to
221 # collections.create (which will create a permission link), use
222 # collections.get to obtain a signature for that data locator, and
223 # use that signed locator to retrieve the data from Keep. Therefore,
224 # do not turn this on if your users expect to keep data private from
228 # blob_signing_key is a string of alphanumeric characters used to
229 # generate permission signatures for Keep locators. It must be
230 # identical to the permission key given to Keep. IMPORTANT: This is
231 # a site secret. It should be at least 50 characters.
233 # Modifying blob_signing_key will invalidate all existing
234 # signatures, which can cause programs to fail (e.g., arv-put,
235 # arv-get, and Crunch jobs). To avoid errors, rotate keys only when
236 # no such processes are running.
239 # Default replication level for collections. This is used when a
240 # collection's replication_desired attribute is nil.
241 DefaultReplication: 2
243 # Lifetime (in seconds) of blob permission signatures generated by
244 # the API server. This determines how long a client can take (after
245 # retrieving a collection record) to retrieve the collection data
246 # from Keep. If the client needs more time than that (assuming the
247 # collection still has the same content and the relevant user/token
248 # still has permission) the client can retrieve the collection again
249 # to get fresh signatures.
251 # This must be exactly equal to the -blob-signature-ttl flag used by
252 # keepstore servers. Otherwise, reading data blocks and saving
253 # collections will fail with HTTP 403 permission errors.
255 # Modifying blob_signature_ttl invalidates existing signatures; see
256 # blob_signing_key note above.
258 # The default is 2 weeks.
261 # Default lifetime for ephemeral collections: 2 weeks. This must not
262 # be less than blob_signature_ttl.
263 DefaultTrashLifetime: 336h
265 # Interval (seconds) between trash sweeps. During a trash sweep,
266 # collections are marked as trash if their trash_at time has
267 # arrived, and deleted if their delete_at time has arrived.
268 TrashSweepInterval: 60s
270 # If true, enable collection versioning.
271 # When a collection's preserve_version field is true or the current version
272 # is older than the amount of seconds defined on preserve_version_if_idle,
273 # a snapshot of the collection's previous state is created and linked to
274 # the current collection.
275 CollectionVersioning: false
277 # 0s = auto-create a new version on every update.
278 # -1s = never auto-create new versions.
279 # > 0s = auto-create a new version when older than the specified number of seconds.
280 PreserveVersionIfIdle: -1s
282 # Managed collection properties. At creation time, if the client didn't
283 # provide the listed keys, they will be automatically populated following
284 # one of the following behaviors:
286 # * UUID of the user who owns the containing project.
287 # responsible_person_uuid: {function: original_owner, protected: true}
289 # * Default concrete value.
290 # foo_bar: {value: baz, protected: false}
292 # If protected is true, only an admin user can modify its value.
293 ManagedProperties: {}
296 # These settings are provided by your OAuth2 provider (e.g.,
298 ProviderAppSecret: ""
302 # Git repositories must be readable by api server, or you won't be
303 # able to submit crunch jobs. To pass the test suites, put a clone
304 # of the arvados tree in {git_repositories_dir}/arvados.git or
305 # {git_repositories_dir}/arvados/.git
306 Repositories: /var/lib/arvados/git/repositories
314 # List of supported Docker Registry image formats that compute nodes
315 # are able to use. `arv keep docker` will error out if a user tries
316 # to store an image with an unsupported format. Use an empty array
317 # to skip the compatibility check (and display a warning message to
320 # Example for sites running docker < 1.10: ["v1"]
321 # Example for sites running docker >= 1.10: ["v2"]
322 # Example for disabling check: []
323 SupportedDockerImageFormats: ["v2"]
325 # Include details about job reuse decisions in the server log. This
326 # causes additional database queries to run, so it should not be
327 # enabled unless you expect to examine the resulting logs for
328 # troubleshooting purposes.
329 LogReuseDecisions: false
331 # Default value for keep_cache_ram of a container's runtime_constraints.
332 DefaultKeepCacheRAM: 268435456
334 # Number of times a container can be unlocked before being
335 # automatically cancelled.
336 MaxDispatchAttempts: 5
338 # Default value for container_count_max for container requests. This is the
339 # number of times Arvados will create a new container to satisfy a container
340 # request. If a container is cancelled it will retry a new container if
341 # container_count < container_count_max on any container requests associated
342 # with the cancelled container.
345 # The maximum number of compute nodes that can be in use simultaneously
346 # If this limit is reduced, any existing nodes with slot number >= new limit
347 # will not be counted against the new limit. In other words, the new limit
348 # won't be strictly enforced until those nodes with higher slot numbers
352 # Preemptible instance support (e.g. AWS Spot Instances)
353 # When true, child containers will get created with the preemptible
354 # scheduling parameter parameter set.
355 UsePreemptibleInstances: false
357 # PEM encoded SSH key (RSA, DSA, or ECDSA) used by the
358 # (experimental) cloud dispatcher for executing containers on
359 # worker VMs. Begins with "-----BEGIN RSA PRIVATE KEY-----\n"
360 # and ends with "\n-----END RSA PRIVATE KEY-----\n".
361 DispatchPrivateKey: none
363 # Maximum time to wait for workers to come up before abandoning
364 # stale locks from a previous dispatch process.
368 # When you run the db:delete_old_container_logs task, it will find
369 # containers that have been finished for at least this many seconds,
370 # and delete their stdout, stderr, arv-mount, crunch-run, and
371 # crunchstat logs from the logs table.
374 # These two settings control how frequently log events are flushed to the
375 # database. Log lines are buffered until either crunch_log_bytes_per_event
376 # has been reached or crunch_log_seconds_between_events has elapsed since
378 LogBytesPerEvent: 4096
379 LogSecondsBetweenEvents: 1
381 # The sample period for throttling logs.
382 LogThrottlePeriod: 60s
384 # Maximum number of bytes that job can log over crunch_log_throttle_period
385 # before being silenced until the end of the period.
386 LogThrottleBytes: 65536
388 # Maximum number of lines that job can log over crunch_log_throttle_period
389 # before being silenced until the end of the period.
390 LogThrottleLines: 1024
392 # Maximum bytes that may be logged by a single job. Log bytes that are
393 # silenced by throttling are not counted against this total.
394 LimitLogBytesPerJob: 67108864
396 LogPartialLineThrottlePeriod: 5s
398 # Container logs are written to Keep and saved in a
399 # collection, which is updated periodically while the
400 # container runs. This value sets the interval between
401 # collection updates.
404 # The log collection is also updated when the specified amount of
405 # log data (given in bytes) is produced in less than one update
411 # Path to dns server configuration directory
412 # (e.g. /etc/unbound.d/conf.d). If false, do not write any config
413 # files or touch restart.txt (see below).
416 # Template file for the dns server host snippets. See
417 # unbound.template in this directory for an example. If false, do
418 # not write any config files.
419 DNSServerConfTemplate: ""
421 # String to write to {dns_server_conf_dir}/restart.txt (with a
422 # trailing newline) after updating local data. If false, do not
423 # open or write the restart.txt file.
424 DNSServerReloadCommand: ""
426 # Command to run after each DNS update. Template variables will be
427 # substituted; see the "unbound" example below. If false, do not run
429 DNSServerUpdateCommand: ""
431 ComputeNodeDomain: ""
432 ComputeNodeNameservers:
435 # Hostname to assign to a compute node when it sends a "ping" and the
436 # hostname in its Node record is nil.
437 # During bootstrapping, the "ping" script is expected to notice the
438 # hostname given in the ping response, and update its unix hostname
440 # If false, leave the hostname alone (this is appropriate if your compute
441 # nodes' hostnames are already assigned by some other mechanism).
443 # One way or another, the hostnames of your node records should agree
444 # with your DNS records and your /etc/slurm-llnl/slurm.conf files.
446 # Example for compute0000, compute0001, ....:
447 # assign_node_hostname: compute%<slot_number>04d
448 # (See http://ruby-doc.org/core-2.2.2/Kernel.html#method-i-format for more.)
449 AssignNodeHostname: "compute%<slot_number>d"
452 # Enable the legacy Jobs API. This value must be a string.
453 # 'auto' -- (default) enable the Jobs API only if it has been used before
454 # (i.e., there are job records in the database)
455 # 'true' -- enable the Jobs API despite lack of existing records.
456 # 'false' -- disable the Jobs API despite presence of existing records.
459 # Git repositories must be readable by api server, or you won't be
460 # able to submit crunch jobs. To pass the test suites, put a clone
461 # of the arvados tree in {git_repositories_dir}/arvados.git or
462 # {git_repositories_dir}/arvados/.git
463 GitInternalDir: /var/lib/arvados/internal.git
465 # Docker image to be used when none found in runtime_constraints of a job
466 DefaultDockerImage: ""
468 # none or slurm_immediate
469 CrunchJobWrapper: none
471 # username, or false = do not set uid when running jobs.
472 CrunchJobUser: crunch
474 # The web service must be able to create/write this file, and
475 # crunch-job must be able to stat() it.
476 CrunchRefreshTrigger: /tmp/crunch_refresh_trigger
478 # Control job reuse behavior when two completed jobs match the
479 # search criteria and have different outputs.
481 # If true, in case of a conflict, reuse the earliest job (this is
482 # similar to container reuse behavior).
484 # If false, in case of a conflict, do not reuse any completed job,
485 # but do reuse an already-running job if available (this is the
486 # original job reuse behavior, and is still the default).
487 ReuseJobIfOutputsDiffer: false
490 # Enable the cloud scheduler (experimental).
493 # Name/number of port where workers' SSH services listen.
496 # Interval between queue polls.
499 # Shell command to execute on each worker to determine whether
500 # the worker is booted and ready to run containers. It should
501 # exit zero if the worker is ready.
502 BootProbeCommand: "docker ps"
504 # Minimum interval between consecutive probes to a single
508 # Maximum probes per second, across all workers in a pool.
509 MaxProbesPerSecond: 10
511 # Time before repeating SIGTERM when killing a container.
514 # Time to give up on SIGTERM and write off the worker.
517 # Maximum create/destroy-instance operations per second (0 =
519 MaxCloudOpsPerSecond: 0
521 # Interval between cloud provider syncs/updates ("list all
525 # Time to leave an idle worker running (in case new containers
526 # appear in the queue that it can run) before shutting it
530 # Time to wait for a new worker to boot (i.e., pass
531 # BootProbeCommand) before giving up and shutting it down.
534 # Maximum time a worker can stay alive with no successful
535 # probes before being automatically shut down.
538 # Time after shutting down a worker to retry the
539 # shutdown/destroy operation.
542 # Worker VM image ID.
545 # Tags to add on all resources (VMs, NICs, disks) created by
546 # the container dispatcher. (Arvados's own tags --
547 # InstanceType, IdleBehavior, and InstanceSecret -- will also
552 # Prefix for predefined tags used by Arvados (InstanceSetID,
553 # InstanceType, InstanceSecret, IdleBehavior). With the
554 # default value "Arvados", tags are "ArvadosInstanceSetID",
555 # "ArvadosInstanceSecret", etc.
557 # This should only be changed while no cloud resources are in
558 # use and the cloud dispatcher is not running. Otherwise,
559 # VMs/resources that were added using the old tag prefix will
560 # need to be detected and cleaned up manually.
561 TagKeyPrefix: Arvados
563 # Cloud driver: "azure" (Microsoft Azure) or "ec2" (Amazon AWS).
566 # Cloud-specific driver parameters.
573 # (ec2) Instance configuration.
579 AdminUsername: debian
581 # (azure) Credentials.
587 # (azure) Instance configuration.
588 CloudEnvironment: AzurePublicCloud
595 DeleteDanglingResourcesAfter: 20s
596 AdminUsername: arvados
600 # Use the instance type name as the key (in place of "SAMPLE" in
601 # this sample entry).
603 # Cloud provider's instance type. Defaults to the configured type name.
607 IncludedScratch: 16GB
615 SendUserSetupNotificationEmail: ""
616 IssueReporterEmailFrom: ""
617 IssueReporterEmailTo: ""
618 SupportEmailAddress: ""
628 # API endpoint host or host:port; default is {id}.arvadosapi.com
629 Host: sample.arvadosapi.com
631 # Perform a proxy request when a local client requests an
632 # object belonging to this remote.
635 # Default "https". Can be set to "http" for testing.
638 # Disable TLS verify. Can be set to true for testing.
641 # When users present tokens issued by this remote cluster, and
642 # their accounts are active on the remote cluster, activate
643 # them on this cluster too.
649 ActivationContactLink: mailto:info@arvados.org
650 ArvadosDocsite: https://doc.arvados.org
651 ArvadosPublicDataDocURL: https://playground.arvados.org/projects/public
652 ShowUserAgreementInline: false
655 RepositoryCache: /var/www/arvados-workbench/current/tmp/git
656 UserProfileFormFields:
660 FormFieldDescription: ""
662 UserProfileFormMessage: 'Welcome to Arvados. All <span style="color:red">required fields</span> must be completed before you can proceed.'
663 ApplicationMimetypesWithViewIcon:
679 LogViewerMaxBytes: 1M
680 EnablePublicProjectsPage: true
681 EnableGettingStartedPopup: false
682 APIResponseCompression: true
683 APIClientConnectTimeout: 2m
684 APIClientReceiveTimeout: 5m
685 RunningJobLogRecordsToFetch: 2000
686 ShowRecentCollectionsOnDashboard: true
687 ShowUserNotifications: true
688 MultiSiteSearch: false
690 SiteName: Arvados Workbench
694 FileViewersConfigURL: ""