14717: Rename WebsocketKeepaliveTimeout to SendTimeout and add a comment
[arvados.git] / lib / config / config.default.yml
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 # Do not use this file for site configuration. Create
6 # /etc/arvados/config.yml instead.
7 #
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
12
13 Clusters:
14   xxxxx:
15     SystemRootToken: ""
16
17     # Token to be included in all healthcheck requests. Disabled by default.
18     # Server expects request header of the format "Authorization: Bearer xxx"
19     ManagementToken: ""
20
21     Services:
22
23       # In each of the service sections below, the keys under
24       # InternalURLs are the endpoints where the service should be
25       # listening, and reachable from other hosts in the cluster.
26       SAMPLE:
27         InternalURLs:
28           "http://example.host:12345": {}
29           SAMPLE: {}
30         ExternalURL: "-"
31
32       RailsAPI:
33         InternalURLs: {}
34         ExternalURL: "-"
35       Controller:
36         InternalURLs: {}
37         ExternalURL: ""
38       Websocket:
39         InternalURLs: {}
40         ExternalURL: ""
41       Keepbalance:
42         InternalURLs: {}
43         ExternalURL: "-"
44       GitHTTP:
45         InternalURLs: {}
46         ExternalURL: ""
47       GitSSH:
48         InternalURLs: {}
49         ExternalURL: ""
50       DispatchCloud:
51         InternalURLs: {}
52         ExternalURL: "-"
53       SSO:
54         InternalURLs: {}
55         ExternalURL: ""
56       Keepproxy:
57         InternalURLs: {}
58         ExternalURL: ""
59       WebDAV:
60         InternalURLs: {}
61         # Base URL for Workbench inline preview.  If blank, use
62         # WebDAVDownload instead, and disable inline preview.
63         # If both are empty, downloading collections from workbench
64         # will be impossible.
65         #
66         # It is important to properly configure the download service
67         # to migitate cross-site-scripting (XSS) attacks.  A HTML page
68         # can be stored in collection.  If an attacker causes a victim
69         # to visit that page through Workbench, it will be rendered by
70         # the browser.  If all collections are served at the same
71         # domain, the browser will consider collections as coming from
72         # the same origin and having access to the same browsing data,
73         # enabling malicious Javascript on that page to access Arvados
74         # on behalf of the victim.
75         #
76         # This is mitigating by having separate domains for each
77         # collection, or limiting preview to circumstances where the
78         # collection is not accessed with the user's regular
79         # full-access token.
80         #
81         # Serve preview links using uuid or pdh in subdomain
82         # (requires wildcard DNS and TLS certificate)
83         #   https://*.collections.uuid_prefix.arvadosapi.com
84         #
85         # Serve preview links using uuid or pdh in main domain
86         # (requires wildcard DNS and TLS certificate)
87         #   https://*--collections.uuid_prefix.arvadosapi.com
88         #
89         # Serve preview links by setting uuid or pdh in the path.
90         # This configuration only allows previews of public data or
91         # collection-sharing links, because these use the anonymous
92         # user token or the token is already embedded in the URL.
93         # Other data must be handled as downloads via WebDAVDownload:
94         #   https://collections.uuid_prefix.arvadosapi.com
95         #
96         ExternalURL: ""
97
98       WebDAVDownload:
99         InternalURLs: {}
100         # Base URL for download links. If blank, serve links to WebDAV
101         # with disposition=attachment query param.  Unlike preview links,
102         # browsers do not render attachments, so there is no risk of XSS.
103         #
104         # If WebDAVDownload is blank, and WebDAV uses a
105         # single-origin form, then Workbench will show an error page
106         #
107         # Serve download links by setting uuid or pdh in the path:
108         #   https://download.uuid_prefix.arvadosapi.com
109         #
110         ExternalURL: ""
111
112       Keepstore:
113         InternalURLs: {}
114         ExternalURL: "-"
115       Composer:
116         InternalURLs: {}
117         ExternalURL: ""
118       WebShell:
119         InternalURLs: {}
120         # ShellInABox service endpoint URL for a given VM.  If empty, do not
121         # offer web shell logins.
122         #
123         # E.g., using a path-based proxy server to forward connections to shell hosts:
124         # https://webshell.uuid_prefix.arvadosapi.com
125         #
126         # E.g., using a name-based proxy server to forward connections to shell hosts:
127         # https://*.webshell.uuid_prefix.arvadosapi.com
128         ExternalURL: ""
129       Workbench1:
130         InternalURLs: {}
131         ExternalURL: ""
132       Workbench2:
133         InternalURLs: {}
134         ExternalURL: ""
135       Nodemanager:
136         InternalURLs: {}
137         ExternalURL: "-"
138       Health:
139         InternalURLs: {}
140         ExternalURL: "-"
141
142     PostgreSQL:
143       # max concurrent connections per arvados server daemon
144       ConnectionPool: 32
145       Connection:
146         # All parameters here are passed to the PG client library in a connection string;
147         # see https://www.postgresql.org/docs/current/static/libpq-connect.html#LIBPQ-PARAMKEYWORDS
148         host: ""
149         port: ""
150         user: ""
151         password: ""
152         dbname: ""
153         SAMPLE: ""
154     API:
155       # Maximum size (in bytes) allowed for a single API request.  This
156       # limit is published in the discovery document for use by clients.
157       # Note: You must separately configure the upstream web server or
158       # proxy to actually enforce the desired maximum request size on the
159       # server side.
160       MaxRequestSize: 134217728
161
162       # Limit the number of bytes read from the database during an index
163       # request (by retrieving and returning fewer rows than would
164       # normally be returned in a single response).
165       # Note 1: This setting never reduces the number of returned rows to
166       # zero, no matter how big the first data row is.
167       # Note 2: Currently, this is only checked against a specific set of
168       # columns that tend to get large (collections.manifest_text,
169       # containers.mounts, workflows.definition). Other fields (e.g.,
170       # "properties" hashes) are not counted against this limit.
171       MaxIndexDatabaseRead: 134217728
172
173       # Maximum number of items to return when responding to a APIs that
174       # can return partial result sets using limit and offset parameters
175       # (e.g., *.index, groups.contents). If a request specifies a "limit"
176       # parameter higher than this value, this value is used instead.
177       MaxItemsPerResponse: 1000
178
179       # API methods to disable. Disabled methods are not listed in the
180       # discovery document, and respond 404 to all requests.
181       # Example: ["jobs.create", "pipeline_instances.create"]
182       DisabledAPIs: []
183
184       # Interval (seconds) between asynchronous permission view updates. Any
185       # permission-updating API called with the 'async' parameter schedules a an
186       # update on the permission view in the future, if not already scheduled.
187       AsyncPermissionsUpdateInterval: 20s
188
189       # Maximum number of concurrent outgoing requests to make while
190       # serving a single incoming multi-cluster (federated) request.
191       MaxRequestAmplification: 4
192
193       # RailsSessionSecretToken is a string of alphanumeric characters
194       # used by Rails to sign session tokens. IMPORTANT: This is a
195       # site secret. It should be at least 50 characters.
196       RailsSessionSecretToken: ""
197
198       # Maximum wall clock time to spend handling an incoming request.
199       RequestTimeout: 5m
200
201       # Websocket will send a periodic empty event after 'SendTimeout'
202       # if there is no other activity to maintain the connection /
203       # detect dropped connections.
204       SendTimeout: 60s
205
206       WebsocketClientEventQueue: 64
207       WebsocketServerEventQueue: 4
208
209     Users:
210       # Config parameters to automatically setup new users.  If enabled,
211       # this users will be able to self-activate.  Enable this if you want
212       # to run an open instance where anyone can create an account and use
213       # the system without requiring manual approval.
214       #
215       # The params auto_setup_new_users_with_* are meaningful only when auto_setup_new_users is turned on.
216       # auto_setup_name_blacklist is a list of usernames to be blacklisted for auto setup.
217       AutoSetupNewUsers: false
218       AutoSetupNewUsersWithVmUUID: ""
219       AutoSetupNewUsersWithRepository: false
220       AutoSetupUsernameBlacklist: [arvados, git, gitolite, gitolite-admin, root, syslog]
221
222       # When new_users_are_active is set to true, new users will be active
223       # immediately.  This skips the "self-activate" step which enforces
224       # user agreements.  Should only be enabled for development.
225       NewUsersAreActive: false
226
227       # The e-mail address of the user you would like to become marked as an admin
228       # user on their first login.
229       # In the default configuration, authentication happens through the Arvados SSO
230       # server, which uses OAuth2 against Google's servers, so in that case this
231       # should be an address associated with a Google account.
232       AutoAdminUserWithEmail: ""
233
234       # If auto_admin_first_user is set to true, the first user to log in when no
235       # other admin users exist will automatically become an admin user.
236       AutoAdminFirstUser: false
237
238       # Email address to notify whenever a user creates a profile for the
239       # first time
240       UserProfileNotificationAddress: ""
241       AdminNotifierEmailFrom: arvados@example.com
242       EmailSubjectPrefix: "[ARVADOS] "
243       UserNotifierEmailFrom: arvados@example.com
244       NewUserNotificationRecipients: []
245       NewInactiveUserNotificationRecipients: []
246
247       # Set anonymous_user_token to enable anonymous user access. You can get
248       # the token by running "bundle exec ./script/get_anonymous_user_token.rb"
249       # in the directory where your API server is running.
250       AnonymousUserToken: ""
251
252     AuditLogs:
253       # Time to keep audit logs, in seconds. (An audit log is a row added
254       # to the "logs" table in the PostgreSQL database each time an
255       # Arvados object is created, modified, or deleted.)
256       #
257       # Currently, websocket event notifications rely on audit logs, so
258       # this should not be set lower than 300 (5 minutes).
259       MaxAge: 336h
260
261       # Maximum number of log rows to delete in a single SQL transaction.
262       #
263       # If max_audit_log_delete_batch is 0, log entries will never be
264       # deleted by Arvados. Cleanup can be done by an external process
265       # without affecting any Arvados system processes, as long as very
266       # recent (<5 minutes old) logs are not deleted.
267       #
268       # 100000 is a reasonable batch size for most sites.
269       MaxDeleteBatch: 0
270
271       # Attributes to suppress in events and audit logs.  Notably,
272       # specifying ["manifest_text"] here typically makes the database
273       # smaller and faster.
274       #
275       # Warning: Using any non-empty value here can have undesirable side
276       # effects for any client or component that relies on event logs.
277       # Use at your own risk.
278       UnloggedAttributes: []
279
280     SystemLogs:
281
282       # Logging threshold: panic, fatal, error, warn, info, debug, or
283       # trace
284       LogLevel: info
285
286       # Logging format: json or text
287       Format: json
288
289       # Maximum characters of (JSON-encoded) query parameters to include
290       # in each request log entry. When params exceed this size, they will
291       # be JSON-encoded, truncated to this size, and logged as
292       # params_truncated.
293       MaxRequestLogParamsSize: 2000
294
295     Collections:
296       # Allow clients to create collections by providing a manifest with
297       # unsigned data blob locators. IMPORTANT: This effectively disables
298       # access controls for data stored in Keep: a client who knows a hash
299       # can write a manifest that references the hash, pass it to
300       # collections.create (which will create a permission link), use
301       # collections.get to obtain a signature for that data locator, and
302       # use that signed locator to retrieve the data from Keep. Therefore,
303       # do not turn this on if your users expect to keep data private from
304       # one another!
305       BlobSigning: true
306
307       # BlobSigningKey is a string of alphanumeric characters used to
308       # generate permission signatures for Keep locators. It must be
309       # identical to the permission key given to Keep. IMPORTANT: This is
310       # a site secret. It should be at least 50 characters.
311       #
312       # Modifying blob_signing_key will invalidate all existing
313       # signatures, which can cause programs to fail (e.g., arv-put,
314       # arv-get, and Crunch jobs).  To avoid errors, rotate keys only when
315       # no such processes are running.
316       BlobSigningKey: ""
317
318       # Default replication level for collections. This is used when a
319       # collection's replication_desired attribute is nil.
320       DefaultReplication: 2
321
322       # Lifetime (in seconds) of blob permission signatures generated by
323       # the API server. This determines how long a client can take (after
324       # retrieving a collection record) to retrieve the collection data
325       # from Keep. If the client needs more time than that (assuming the
326       # collection still has the same content and the relevant user/token
327       # still has permission) the client can retrieve the collection again
328       # to get fresh signatures.
329       #
330       # This must be exactly equal to the -blob-signature-ttl flag used by
331       # keepstore servers.  Otherwise, reading data blocks and saving
332       # collections will fail with HTTP 403 permission errors.
333       #
334       # Modifying blob_signature_ttl invalidates existing signatures; see
335       # blob_signing_key note above.
336       #
337       # The default is 2 weeks.
338       BlobSigningTTL: 336h
339
340       # Default lifetime for ephemeral collections: 2 weeks. This must not
341       # be less than blob_signature_ttl.
342       DefaultTrashLifetime: 336h
343
344       # Interval (seconds) between trash sweeps. During a trash sweep,
345       # collections are marked as trash if their trash_at time has
346       # arrived, and deleted if their delete_at time has arrived.
347       TrashSweepInterval: 60s
348
349       # If true, enable collection versioning.
350       # When a collection's preserve_version field is true or the current version
351       # is older than the amount of seconds defined on preserve_version_if_idle,
352       # a snapshot of the collection's previous state is created and linked to
353       # the current collection.
354       CollectionVersioning: false
355
356       #   0s = auto-create a new version on every update.
357       #  -1s = never auto-create new versions.
358       # > 0s = auto-create a new version when older than the specified number of seconds.
359       PreserveVersionIfIdle: -1s
360
361       # Managed collection properties. At creation time, if the client didn't
362       # provide the listed keys, they will be automatically populated following
363       # one of the following behaviors:
364       #
365       # * UUID of the user who owns the containing project.
366       #   responsible_person_uuid: {Function: original_owner, Protected: true}
367       #
368       # * Default concrete value.
369       #   foo_bar: {Value: baz, Protected: false}
370       #
371       # If Protected is true, only an admin user can modify its value.
372       ManagedProperties:
373         SAMPLE: {Function: original_owner, Protected: true}
374
375       # In "trust all content" mode, Workbench will redirect download
376       # requests to WebDAV preview link, even in the cases when
377       # WebDAV would have to expose XSS vulnerabilities in order to
378       # handle the redirect (see discussion on Services.WebDAV).
379       #
380       # This setting has no effect in the recommended configuration,
381       # where the WebDAV is configured to have a separate domain for
382       # every collection; in this case XSS protection is provided by
383       # browsers' same-origin policy.
384       #
385       # The default setting (false) is appropriate for a multi-user site.
386       TrustAllContent: false
387
388     Login:
389       # These settings are provided by your OAuth2 provider (e.g.,
390       # sso-provider).
391       ProviderAppSecret: ""
392       ProviderAppID: ""
393
394     Git:
395       # Git repositories must be readable by api server, or you won't be
396       # able to submit crunch jobs. To pass the test suites, put a clone
397       # of the arvados tree in {git_repositories_dir}/arvados.git or
398       # {git_repositories_dir}/arvados/.git
399       Repositories: /var/lib/arvados/git/repositories
400
401     TLS:
402       Certificate: ""
403       Key: ""
404       Insecure: false
405
406     Containers:
407       # List of supported Docker Registry image formats that compute nodes
408       # are able to use. `arv keep docker` will error out if a user tries
409       # to store an image with an unsupported format. Use an empty array
410       # to skip the compatibility check (and display a warning message to
411       # that effect).
412       #
413       # Example for sites running docker < 1.10: ["v1"]
414       # Example for sites running docker >= 1.10: ["v2"]
415       # Example for disabling check: []
416       SupportedDockerImageFormats: ["v2"]
417
418       # Include details about job reuse decisions in the server log. This
419       # causes additional database queries to run, so it should not be
420       # enabled unless you expect to examine the resulting logs for
421       # troubleshooting purposes.
422       LogReuseDecisions: false
423
424       # Default value for keep_cache_ram of a container's runtime_constraints.
425       DefaultKeepCacheRAM: 268435456
426
427       # Number of times a container can be unlocked before being
428       # automatically cancelled.
429       MaxDispatchAttempts: 5
430
431       # Default value for container_count_max for container requests.  This is the
432       # number of times Arvados will create a new container to satisfy a container
433       # request.  If a container is cancelled it will retry a new container if
434       # container_count < container_count_max on any container requests associated
435       # with the cancelled container.
436       MaxRetryAttempts: 3
437
438       # The maximum number of compute nodes that can be in use simultaneously
439       # If this limit is reduced, any existing nodes with slot number >= new limit
440       # will not be counted against the new limit. In other words, the new limit
441       # won't be strictly enforced until those nodes with higher slot numbers
442       # go down.
443       MaxComputeVMs: 64
444
445       # Preemptible instance support (e.g. AWS Spot Instances)
446       # When true, child containers will get created with the preemptible
447       # scheduling parameter parameter set.
448       UsePreemptibleInstances: false
449
450       # PEM encoded SSH key (RSA, DSA, or ECDSA) used by the
451       # (experimental) cloud dispatcher for executing containers on
452       # worker VMs. Begins with "-----BEGIN RSA PRIVATE KEY-----\n"
453       # and ends with "\n-----END RSA PRIVATE KEY-----\n".
454       DispatchPrivateKey: none
455
456       # Maximum time to wait for workers to come up before abandoning
457       # stale locks from a previous dispatch process.
458       StaleLockTimeout: 1m
459
460       # The crunch-run command to manage the container on a node
461       CrunchRunCommand: "crunch-run"
462
463       # Extra arguments to add to crunch-run invocation
464       # Example: ["--cgroup-parent-subsystem=memory"]
465       CrunchRunArgumentsList: []
466
467       # Extra RAM to reserve on the node, in addition to
468       # the amount specified in the container's RuntimeConstraints
469       ReserveExtraRAM: 256MiB
470
471       # Minimum time between two attempts to run the same container
472       MinRetryPeriod: 0s
473
474       Logging:
475         # When you run the db:delete_old_container_logs task, it will find
476         # containers that have been finished for at least this many seconds,
477         # and delete their stdout, stderr, arv-mount, crunch-run, and
478         # crunchstat logs from the logs table.
479         MaxAge: 720h
480
481         # These two settings control how frequently log events are flushed to the
482         # database.  Log lines are buffered until either crunch_log_bytes_per_event
483         # has been reached or crunch_log_seconds_between_events has elapsed since
484         # the last flush.
485         LogBytesPerEvent: 4096
486         LogSecondsBetweenEvents: 1
487
488         # The sample period for throttling logs.
489         LogThrottlePeriod: 60s
490
491         # Maximum number of bytes that job can log over crunch_log_throttle_period
492         # before being silenced until the end of the period.
493         LogThrottleBytes: 65536
494
495         # Maximum number of lines that job can log over crunch_log_throttle_period
496         # before being silenced until the end of the period.
497         LogThrottleLines: 1024
498
499         # Maximum bytes that may be logged by a single job.  Log bytes that are
500         # silenced by throttling are not counted against this total.
501         LimitLogBytesPerJob: 67108864
502
503         LogPartialLineThrottlePeriod: 5s
504
505         # Container logs are written to Keep and saved in a
506         # collection, which is updated periodically while the
507         # container runs.  This value sets the interval between
508         # collection updates.
509         LogUpdatePeriod: 30m
510
511         # The log collection is also updated when the specified amount of
512         # log data (given in bytes) is produced in less than one update
513         # period.
514         LogUpdateSize: 32MiB
515
516       SLURM:
517         PrioritySpread: 0
518         SbatchArgumentsList: []
519         Managed:
520           # Path to dns server configuration directory
521           # (e.g. /etc/unbound.d/conf.d). If false, do not write any config
522           # files or touch restart.txt (see below).
523           DNSServerConfDir: ""
524
525           # Template file for the dns server host snippets. See
526           # unbound.template in this directory for an example. If false, do
527           # not write any config files.
528           DNSServerConfTemplate: ""
529
530           # String to write to {dns_server_conf_dir}/restart.txt (with a
531           # trailing newline) after updating local data. If false, do not
532           # open or write the restart.txt file.
533           DNSServerReloadCommand: ""
534
535           # Command to run after each DNS update. Template variables will be
536           # substituted; see the "unbound" example below. If false, do not run
537           # a command.
538           DNSServerUpdateCommand: ""
539
540           ComputeNodeDomain: ""
541           ComputeNodeNameservers:
542             - 192.168.1.1
543
544           # Hostname to assign to a compute node when it sends a "ping" and the
545           # hostname in its Node record is nil.
546           # During bootstrapping, the "ping" script is expected to notice the
547           # hostname given in the ping response, and update its unix hostname
548           # accordingly.
549           # If false, leave the hostname alone (this is appropriate if your compute
550           # nodes' hostnames are already assigned by some other mechanism).
551           #
552           # One way or another, the hostnames of your node records should agree
553           # with your DNS records and your /etc/slurm-llnl/slurm.conf files.
554           #
555           # Example for compute0000, compute0001, ....:
556           # assign_node_hostname: compute%<slot_number>04d
557           # (See http://ruby-doc.org/core-2.2.2/Kernel.html#method-i-format for more.)
558           AssignNodeHostname: "compute%<slot_number>d"
559
560       JobsAPI:
561         # Enable the legacy Jobs API.  This value must be a string.
562         # 'auto' -- (default) enable the Jobs API only if it has been used before
563         #         (i.e., there are job records in the database)
564         # 'true' -- enable the Jobs API despite lack of existing records.
565         # 'false' -- disable the Jobs API despite presence of existing records.
566         Enable: 'auto'
567
568         # Git repositories must be readable by api server, or you won't be
569         # able to submit crunch jobs. To pass the test suites, put a clone
570         # of the arvados tree in {git_repositories_dir}/arvados.git or
571         # {git_repositories_dir}/arvados/.git
572         GitInternalDir: /var/lib/arvados/internal.git
573
574         # Docker image to be used when none found in runtime_constraints of a job
575         DefaultDockerImage: ""
576
577         # none or slurm_immediate
578         CrunchJobWrapper: none
579
580         # username, or false = do not set uid when running jobs.
581         CrunchJobUser: crunch
582
583         # The web service must be able to create/write this file, and
584         # crunch-job must be able to stat() it.
585         CrunchRefreshTrigger: /tmp/crunch_refresh_trigger
586
587         # Control job reuse behavior when two completed jobs match the
588         # search criteria and have different outputs.
589         #
590         # If true, in case of a conflict, reuse the earliest job (this is
591         # similar to container reuse behavior).
592         #
593         # If false, in case of a conflict, do not reuse any completed job,
594         # but do reuse an already-running job if available (this is the
595         # original job reuse behavior, and is still the default).
596         ReuseJobIfOutputsDiffer: false
597
598       CloudVMs:
599         # Enable the cloud scheduler (experimental).
600         Enable: false
601
602         # Name/number of port where workers' SSH services listen.
603         SSHPort: "22"
604
605         # Interval between queue polls.
606         PollInterval: 10s
607
608         # Shell command to execute on each worker to determine whether
609         # the worker is booted and ready to run containers. It should
610         # exit zero if the worker is ready.
611         BootProbeCommand: "docker ps -q"
612
613         # Minimum interval between consecutive probes to a single
614         # worker.
615         ProbeInterval: 10s
616
617         # Maximum probes per second, across all workers in a pool.
618         MaxProbesPerSecond: 10
619
620         # Time before repeating SIGTERM when killing a container.
621         TimeoutSignal: 5s
622
623         # Time to give up on SIGTERM and write off the worker.
624         TimeoutTERM: 2m
625
626         # Maximum create/destroy-instance operations per second (0 =
627         # unlimited).
628         MaxCloudOpsPerSecond: 0
629
630         # Interval between cloud provider syncs/updates ("list all
631         # instances").
632         SyncInterval: 1m
633
634         # Time to leave an idle worker running (in case new containers
635         # appear in the queue that it can run) before shutting it
636         # down.
637         TimeoutIdle: 1m
638
639         # Time to wait for a new worker to boot (i.e., pass
640         # BootProbeCommand) before giving up and shutting it down.
641         TimeoutBooting: 10m
642
643         # Maximum time a worker can stay alive with no successful
644         # probes before being automatically shut down.
645         TimeoutProbe: 10m
646
647         # Time after shutting down a worker to retry the
648         # shutdown/destroy operation.
649         TimeoutShutdown: 10s
650
651         # Worker VM image ID.
652         ImageID: ""
653
654         # Tags to add on all resources (VMs, NICs, disks) created by
655         # the container dispatcher. (Arvados's own tags --
656         # InstanceType, IdleBehavior, and InstanceSecret -- will also
657         # be added.)
658         ResourceTags:
659           SAMPLE: "tag value"
660
661         # Prefix for predefined tags used by Arvados (InstanceSetID,
662         # InstanceType, InstanceSecret, IdleBehavior). With the
663         # default value "Arvados", tags are "ArvadosInstanceSetID",
664         # "ArvadosInstanceSecret", etc.
665         #
666         # This should only be changed while no cloud resources are in
667         # use and the cloud dispatcher is not running. Otherwise,
668         # VMs/resources that were added using the old tag prefix will
669         # need to be detected and cleaned up manually.
670         TagKeyPrefix: Arvados
671
672         # Cloud driver: "azure" (Microsoft Azure) or "ec2" (Amazon AWS).
673         Driver: ec2
674
675         # Cloud-specific driver parameters.
676         DriverParameters:
677
678           # (ec2) Credentials.
679           AccessKeyID: ""
680           SecretAccessKey: ""
681
682           # (ec2) Instance configuration.
683           SecurityGroupIDs:
684             - ""
685           SubnetID: ""
686           Region: ""
687           EBSVolumeType: gp2
688           AdminUsername: debian
689
690           # (azure) Credentials.
691           SubscriptionID: ""
692           ClientID: ""
693           ClientSecret: ""
694           TenantID: ""
695
696           # (azure) Instance configuration.
697           CloudEnvironment: AzurePublicCloud
698           ResourceGroup: ""
699           Location: centralus
700           Network: ""
701           Subnet: ""
702           StorageAccount: ""
703           BlobContainer: ""
704           DeleteDanglingResourcesAfter: 20s
705           AdminUsername: arvados
706
707     InstanceTypes:
708
709       # Use the instance type name as the key (in place of "SAMPLE" in
710       # this sample entry).
711       SAMPLE:
712         # Cloud provider's instance type. Defaults to the configured type name.
713         ProviderType: ""
714         VCPUs: 1
715         RAM: 128MiB
716         IncludedScratch: 16GB
717         AddedScratch: 0
718         Price: 0.1
719         Preemptible: false
720
721     Mail:
722       MailchimpAPIKey: ""
723       MailchimpListID: ""
724       SendUserSetupNotificationEmail: true
725
726       # Bug/issue report notification to and from addresses
727       IssueReporterEmailFrom: "arvados@example.com"
728       IssueReporterEmailTo: "arvados@example.com"
729       SupportEmailAddress: "arvados@example.com"
730
731       # Generic issue email from
732       EmailFrom: "arvados@example.com"
733     RemoteClusters:
734       "*":
735         Host: ""
736         Proxy: false
737         Scheme: https
738         Insecure: false
739         ActivateUsers: false
740       SAMPLE:
741         # API endpoint host or host:port; default is {id}.arvadosapi.com
742         Host: sample.arvadosapi.com
743
744         # Perform a proxy request when a local client requests an
745         # object belonging to this remote.
746         Proxy: false
747
748         # Default "https". Can be set to "http" for testing.
749         Scheme: https
750
751         # Disable TLS verify. Can be set to true for testing.
752         Insecure: false
753
754         # When users present tokens issued by this remote cluster, and
755         # their accounts are active on the remote cluster, activate
756         # them on this cluster too.
757         ActivateUsers: false
758
759     Workbench:
760       # Workbench1 configs
761       Theme: default
762       ActivationContactLink: mailto:info@arvados.org
763       ArvadosDocsite: https://doc.arvados.org
764       ArvadosPublicDataDocURL: https://playground.arvados.org/projects/public
765       ShowUserAgreementInline: false
766       SecretKeyBase: ""
767
768       # Scratch directory used by the remote repository browsing
769       # feature. If it doesn't exist, it (and any missing parents) will be
770       # created using mkdir_p.
771       RepositoryCache: /var/www/arvados-workbench/current/tmp/git
772
773       # Below is a sample setting of user_profile_form_fields config parameter.
774       # This configuration parameter should be set to either false (to disable) or
775       # to a map as shown below.
776       # Configure the map of input fields to be displayed in the profile page
777       # using the attribute "key" for each of the input fields.
778       # This sample shows configuration with one required and one optional form fields.
779       # For each of these input fields:
780       #   You can specify "Type" as "text" or "select".
781       #   List the "Options" to be displayed for each of the "select" menu.
782       #   Set "Required" as "true" for any of these fields to make them required.
783       # If any of the required fields are missing in the user's profile, the user will be
784       # redirected to the profile page before they can access any Workbench features.
785       UserProfileFormFields:
786         SAMPLE:
787           Type: select
788           FormFieldTitle: Best color
789           FormFieldDescription: your favorite color
790           Required: false
791           Position: 1
792           Options:
793             red: {}
794             blue: {}
795             green: {}
796             SAMPLE: {}
797
798         # exampleTextValue:  # key that will be set in properties
799         #   Type: text  #
800         #   FormFieldTitle: ""
801         #   FormFieldDescription: ""
802         #   Required: true
803         #   Position: 1
804         # exampleOptionsValue:
805         #   Type: select
806         #   FormFieldTitle: ""
807         #   FormFieldDescription: ""
808         #   Required: true
809         #   Position: 1
810         #   Options:
811         #     red: {}
812         #     blue: {}
813         #     yellow: {}
814
815       # Use "UserProfileFormMessage to configure the message you want
816       # to display on the profile page.
817       UserProfileFormMessage: 'Welcome to Arvados. All <span style="color:red">required fields</span> must be completed before you can proceed.'
818
819       # Mimetypes of applications for which the view icon
820       # would be enabled in a collection's show page.
821       # It is sufficient to list only applications here.
822       # No need to list text and image types.
823       ApplicationMimetypesWithViewIcon:
824         cwl: {}
825         fasta: {}
826         go: {}
827         javascript: {}
828         json: {}
829         pdf: {}
830         python: {}
831         x-python: {}
832         r: {}
833         rtf: {}
834         sam: {}
835         x-sh: {}
836         vnd.realvnc.bed: {}
837         xml: {}
838         xsl: {}
839         SAMPLE: {}
840
841       # The maximum number of bytes to load in the log viewer
842       LogViewerMaxBytes: 1M
843
844       # When anonymous_user_token is configured, show public projects page
845       EnablePublicProjectsPage: true
846
847       # By default, disable the "Getting Started" popup which is specific to Arvados playground
848       EnableGettingStartedPopup: false
849
850       # Ask Arvados API server to compress its response payloads.
851       APIResponseCompression: true
852
853       # Timeouts for API requests.
854       APIClientConnectTimeout: 2m
855       APIClientReceiveTimeout: 5m
856
857       # Maximum number of historic log records of a running job to fetch
858       # and display in the Log tab, while subscribing to web sockets.
859       RunningJobLogRecordsToFetch: 2000
860
861       # In systems with many shared projects, loading of dashboard and topnav
862       # cab be slow due to collections indexing; use the following parameters
863       # to suppress these properties
864       ShowRecentCollectionsOnDashboard: true
865       ShowUserNotifications: true
866
867       # Enable/disable "multi-site search" in top nav ("true"/"false"), or
868       # a link to the multi-site search page on a "home" Workbench site.
869       #
870       # Example:
871       #   https://workbench.qr1hi.arvadosapi.com/collections/multisite
872       MultiSiteSearch: ""
873
874       # Should workbench allow management of local git repositories? Set to false if
875       # the jobs api is disabled and there are no local git repositories.
876       Repositories: true
877
878       SiteName: Arvados Workbench
879       ProfilingEnabled: false
880
881       # This is related to obsolete Google OpenID 1.0 login
882       # but some workbench stuff still expects it to be set.
883       DefaultOpenIdPrefix: "https://www.google.com/accounts/o8/id"
884
885       # Workbench2 configs
886       VocabularyURL: ""
887       FileViewersConfigURL: ""
888
889     # Use experimental controller code (see https://dev.arvados.org/issues/14287)
890     EnableBetaController14287: false