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