Merge branch '19454-cwl-output-json' refs #19454
[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     # Token used internally by Arvados components to authenticate to
16     # one another. Use a string of at least 50 random alphanumerics.
17     SystemRootToken: ""
18
19     # Token to be included in all healthcheck requests. Disabled by default.
20     # Server expects request header of the format "Authorization: Bearer xxx"
21     ManagementToken: ""
22
23     Services:
24
25       # In each of the service sections below, the keys under
26       # InternalURLs are the endpoints where the service should be
27       # listening, and reachable from other hosts in the
28       # cluster. Example:
29       #
30       # InternalURLs:
31       #   "http://host1.example:12345": {}
32       #   "http://host2.example:12345": {}
33
34       RailsAPI:
35         InternalURLs: {SAMPLE: {}}
36         ExternalURL: ""
37       Controller:
38         InternalURLs: {SAMPLE: {}}
39         ExternalURL: ""
40       Websocket:
41         InternalURLs: {SAMPLE: {}}
42         ExternalURL: ""
43       Keepbalance:
44         InternalURLs: {SAMPLE: {}}
45         ExternalURL: ""
46       GitHTTP:
47         InternalURLs: {SAMPLE: {}}
48         ExternalURL: ""
49       GitSSH:
50         InternalURLs: {SAMPLE: {}}
51         ExternalURL: ""
52       DispatchCloud:
53         InternalURLs: {SAMPLE: {}}
54         ExternalURL: ""
55       DispatchLSF:
56         InternalURLs: {SAMPLE: {}}
57         ExternalURL: ""
58       Keepproxy:
59         InternalURLs: {SAMPLE: {}}
60         ExternalURL: ""
61       WebDAV:
62         InternalURLs: {SAMPLE: {}}
63         # Base URL for Workbench inline preview.  If blank, use
64         # WebDAVDownload instead, and disable inline preview.
65         # If both are empty, downloading collections from workbench
66         # will be impossible.
67         #
68         # It is important to properly configure the download service
69         # to migitate cross-site-scripting (XSS) attacks.  A HTML page
70         # can be stored in collection.  If an attacker causes a victim
71         # to visit that page through Workbench, it will be rendered by
72         # the browser.  If all collections are served at the same
73         # domain, the browser will consider collections as coming from
74         # the same origin and having access to the same browsing data,
75         # enabling malicious Javascript on that page to access Arvados
76         # on behalf of the victim.
77         #
78         # This is mitigating by having separate domains for each
79         # collection, or limiting preview to circumstances where the
80         # collection is not accessed with the user's regular
81         # full-access token.
82         #
83         # Serve preview links using uuid or pdh in subdomain
84         # (requires wildcard DNS and TLS certificate)
85         #   https://*.collections.uuid_prefix.arvadosapi.com
86         #
87         # Serve preview links using uuid or pdh in main domain
88         # (requires wildcard DNS and TLS certificate)
89         #   https://*--collections.uuid_prefix.arvadosapi.com
90         #
91         # Serve preview links by setting uuid or pdh in the path.
92         # This configuration only allows previews of public data or
93         # collection-sharing links, because these use the anonymous
94         # user token or the token is already embedded in the URL.
95         # Other data must be handled as downloads via WebDAVDownload:
96         #   https://collections.uuid_prefix.arvadosapi.com
97         #
98         ExternalURL: ""
99
100       WebDAVDownload:
101         InternalURLs: {SAMPLE: {}}
102         # Base URL for download links. If blank, serve links to WebDAV
103         # with disposition=attachment query param.  Unlike preview links,
104         # browsers do not render attachments, so there is no risk of XSS.
105         #
106         # If WebDAVDownload is blank, and WebDAV uses a
107         # single-origin form, then Workbench will show an error page
108         #
109         # Serve download links by setting uuid or pdh in the path:
110         #   https://download.uuid_prefix.arvadosapi.com
111         #
112         ExternalURL: ""
113
114       Keepstore:
115         InternalURLs:
116           SAMPLE:
117             # Rendezvous is normally empty/omitted. When changing the
118             # URL of a Keepstore service, Rendezvous should be set to
119             # the old URL (with trailing slash omitted) to preserve
120             # rendezvous ordering.
121             Rendezvous: ""
122         ExternalURL: ""
123       Composer:
124         InternalURLs: {SAMPLE: {}}
125         ExternalURL: ""
126       WebShell:
127         InternalURLs: {SAMPLE: {}}
128         # ShellInABox service endpoint URL for a given VM.  If empty, do not
129         # offer web shell logins.
130         #
131         # E.g., using a path-based proxy server to forward connections to shell hosts:
132         # https://webshell.uuid_prefix.arvadosapi.com
133         #
134         # E.g., using a name-based proxy server to forward connections to shell hosts:
135         # https://*.webshell.uuid_prefix.arvadosapi.com
136         ExternalURL: ""
137       Workbench1:
138         InternalURLs: {SAMPLE: {}}
139         ExternalURL: ""
140       Workbench2:
141         InternalURLs: {SAMPLE: {}}
142         ExternalURL: ""
143       Health:
144         InternalURLs: {SAMPLE: {}}
145         ExternalURL: ""
146
147     PostgreSQL:
148       # max concurrent connections per arvados server daemon
149       ConnectionPool: 32
150       Connection:
151         # All parameters here are passed to the PG client library in a connection string;
152         # see https://www.postgresql.org/docs/current/static/libpq-connect.html#LIBPQ-PARAMKEYWORDS
153         host: ""
154         port: ""
155         user: ""
156         password: ""
157         dbname: ""
158         SAMPLE: ""
159     API:
160       # Limits for how long a client token created by regular users can be valid,
161       # and also is used as a default expiration policy when no expiration date is
162       # specified.
163       # Default value zero means token expirations don't get clamped and no
164       # default expiration is set.
165       MaxTokenLifetime: 0s
166
167       # Maximum size (in bytes) allowed for a single API request.  This
168       # limit is published in the discovery document for use by clients.
169       # Note: You must separately configure the upstream web server or
170       # proxy to actually enforce the desired maximum request size on the
171       # server side.
172       MaxRequestSize: 134217728
173
174       # Limit the number of bytes read from the database during an index
175       # request (by retrieving and returning fewer rows than would
176       # normally be returned in a single response).
177       # Note 1: This setting never reduces the number of returned rows to
178       # zero, no matter how big the first data row is.
179       # Note 2: Currently, this is only checked against a specific set of
180       # columns that tend to get large (collections.manifest_text,
181       # containers.mounts, workflows.definition). Other fields (e.g.,
182       # "properties" hashes) are not counted against this limit.
183       MaxIndexDatabaseRead: 134217728
184
185       # Maximum number of items to return when responding to a APIs that
186       # can return partial result sets using limit and offset parameters
187       # (e.g., *.index, groups.contents). If a request specifies a "limit"
188       # parameter higher than this value, this value is used instead.
189       MaxItemsPerResponse: 1000
190
191       # Maximum number of concurrent requests to accept in a single
192       # service process, or 0 for no limit.
193       MaxConcurrentRequests: 0
194
195       # Maximum number of 64MiB memory buffers per Keepstore server process, or
196       # 0 for no limit. When this limit is reached, up to
197       # (MaxConcurrentRequests - MaxKeepBlobBuffers) HTTP requests requiring
198       # buffers (like GET and PUT) will wait for buffer space to be released.
199       # Any HTTP requests beyond MaxConcurrentRequests will receive an
200       # immediate 503 response.
201       #
202       # MaxKeepBlobBuffers should be set such that (MaxKeepBlobBuffers * 64MiB
203       # * 1.1) fits comfortably in memory. On a host dedicated to running
204       # Keepstore, divide total memory by 88MiB to suggest a suitable value.
205       # For example, if grep MemTotal /proc/meminfo reports MemTotal: 7125440
206       # kB, compute 7125440 / (88 * 1024)=79 and set MaxKeepBlobBuffers: 79
207       MaxKeepBlobBuffers: 128
208
209       # API methods to disable. Disabled methods are not listed in the
210       # discovery document, and respond 404 to all requests.
211       # Example: {"jobs.create":{}, "pipeline_instances.create": {}}
212       DisabledAPIs: {}
213
214       # Interval (seconds) between asynchronous permission view updates. Any
215       # permission-updating API called with the 'async' parameter schedules a an
216       # update on the permission view in the future, if not already scheduled.
217       AsyncPermissionsUpdateInterval: 20s
218
219       # Maximum number of concurrent outgoing requests to make while
220       # serving a single incoming multi-cluster (federated) request.
221       MaxRequestAmplification: 4
222
223       # Maximum wall clock time to spend handling an incoming request.
224       RequestTimeout: 5m
225
226       # Websocket will send a periodic empty event after 'SendTimeout'
227       # if there is no other activity to maintain the connection /
228       # detect dropped connections.
229       SendTimeout: 60s
230
231       WebsocketClientEventQueue: 64
232       WebsocketServerEventQueue: 4
233
234       # Timeout on requests to internal Keep services.
235       KeepServiceRequestTimeout: 15s
236
237       # Vocabulary file path, local to the node running the controller.
238       # This JSON file should contain the description of what's allowed
239       # as object's metadata. Its format is described at:
240       # https://doc.arvados.org/admin/metadata-vocabulary.html
241       VocabularyPath: ""
242
243       # If true, a project must have a non-empty description field in
244       # order to be frozen.
245       FreezeProjectRequiresDescription: false
246
247       # Project properties that must have non-empty values in order to
248       # freeze a project. Example: "property_name": {}
249       FreezeProjectRequiresProperties:
250         SAMPLE: {}
251
252       # If true, only an admin user can un-freeze a project. If false,
253       # any user with "manage" permission can un-freeze.
254       UnfreezeProjectRequiresAdmin: false
255
256     Users:
257       # Config parameters to automatically setup new users.  If enabled,
258       # this users will be able to self-activate.  Enable this if you want
259       # to run an open instance where anyone can create an account and use
260       # the system without requiring manual approval.
261       #
262       # The params AutoSetupNewUsersWith* are meaningful only when AutoSetupNewUsers is turned on.
263       # AutoSetupUsernameBlacklist is a list of usernames to be blacklisted for auto setup.
264       AutoSetupNewUsers: false
265       AutoSetupNewUsersWithVmUUID: ""
266       AutoSetupNewUsersWithRepository: false
267       AutoSetupUsernameBlacklist:
268         arvados: {}
269         git: {}
270         gitolite: {}
271         gitolite-admin: {}
272         root: {}
273         syslog: {}
274         SAMPLE: {}
275
276       # When NewUsersAreActive is set to true, new users will be active
277       # immediately.  This skips the "self-activate" step which enforces
278       # user agreements.  Should only be enabled for development.
279       NewUsersAreActive: false
280
281       # Newly activated users (whether set up by an admin or via
282       # AutoSetupNewUsers) immediately become visible to other active
283       # users.
284       #
285       # On a multi-tenant cluster, where the intent is for users to be
286       # invisible to one another unless they have been added to the
287       # same group(s) via Workbench admin interface, change this to
288       # false.
289       ActivatedUsersAreVisibleToOthers: true
290
291       # The e-mail address of the user you would like to become marked as an admin
292       # user on their first login.
293       AutoAdminUserWithEmail: ""
294
295       # If AutoAdminFirstUser is set to true, the first user to log in when no
296       # other admin users exist will automatically become an admin user.
297       AutoAdminFirstUser: false
298
299       # Email address to notify whenever a user creates a profile for the
300       # first time
301       UserProfileNotificationAddress: ""
302       AdminNotifierEmailFrom: arvados@example.com
303       EmailSubjectPrefix: "[ARVADOS] "
304       UserNotifierEmailFrom: arvados@example.com
305       UserNotifierEmailBcc: {}
306       NewUserNotificationRecipients: {}
307       NewInactiveUserNotificationRecipients: {}
308
309       # Set AnonymousUserToken to enable anonymous user access. Populate this
310       # field with a random string at least 50 characters long.
311       AnonymousUserToken: ""
312
313       # If a new user has an alternate email address (local@domain)
314       # with the domain given here, its local part becomes the new
315       # user's default username. Otherwise, the user's primary email
316       # address is used.
317       PreferDomainForUsername: ""
318
319       UserSetupMailText: |
320         <% if not @user.full_name.empty? -%>
321         <%= @user.full_name %>,
322         <% else -%>
323         Hi there,
324         <% end -%>
325
326         Your Arvados account has been set up.  You can log in at
327
328         <%= Rails.configuration.Services.Workbench1.ExternalURL %>
329
330         Thanks,
331         Your Arvados administrator.
332
333       # If RoleGroupsVisibleToAll is true, all role groups are visible
334       # to all active users.
335       #
336       # If false, users must be granted permission to role groups in
337       # order to see them. This is more appropriate for a multi-tenant
338       # cluster.
339       RoleGroupsVisibleToAll: true
340
341     AuditLogs:
342       # Time to keep audit logs, in seconds. (An audit log is a row added
343       # to the "logs" table in the PostgreSQL database each time an
344       # Arvados object is created, modified, or deleted.)
345       #
346       # Currently, websocket event notifications rely on audit logs, so
347       # this should not be set lower than 300 (5 minutes).
348       MaxAge: 336h
349
350       # Maximum number of log rows to delete in a single SQL transaction.
351       #
352       # If MaxDeleteBatch is 0, log entries will never be
353       # deleted by Arvados. Cleanup can be done by an external process
354       # without affecting any Arvados system processes, as long as very
355       # recent (<5 minutes old) logs are not deleted.
356       #
357       # 100000 is a reasonable batch size for most sites.
358       MaxDeleteBatch: 0
359
360       # Attributes to suppress in events and audit logs.  Notably,
361       # specifying {"manifest_text": {}} here typically makes the database
362       # smaller and faster.
363       #
364       # Warning: Using any non-empty value here can have undesirable side
365       # effects for any client or component that relies on event logs.
366       # Use at your own risk.
367       UnloggedAttributes: {}
368
369     SystemLogs:
370
371       # Logging threshold: panic, fatal, error, warn, info, debug, or
372       # trace
373       LogLevel: info
374
375       # Logging format: json or text
376       Format: json
377
378       # Maximum characters of (JSON-encoded) query parameters to include
379       # in each request log entry. When params exceed this size, they will
380       # be JSON-encoded, truncated to this size, and logged as
381       # params_truncated.
382       MaxRequestLogParamsSize: 2000
383
384     Collections:
385
386       # Enable access controls for data stored in Keep. This should
387       # always be set to true on a production cluster.
388       BlobSigning: true
389
390       # BlobSigningKey is a string of alphanumeric characters used to
391       # generate permission signatures for Keep locators. It must be
392       # identical to the permission key given to Keep. IMPORTANT: This
393       # is a site secret. It should be at least 50 characters.
394       #
395       # Modifying BlobSigningKey will invalidate all existing
396       # signatures, which can cause programs to fail (e.g., arv-put,
397       # arv-get, and Crunch jobs).  To avoid errors, rotate keys only
398       # when no such processes are running.
399       BlobSigningKey: ""
400
401       # Enable garbage collection of unreferenced blobs in Keep.
402       BlobTrash: true
403
404       # Time to leave unreferenced blobs in "trashed" state before
405       # deleting them, or 0 to skip the "trashed" state entirely and
406       # delete unreferenced blobs.
407       #
408       # If you use any Amazon S3 buckets as storage volumes, this
409       # must be at least 24h to avoid occasional data loss.
410       BlobTrashLifetime: 336h
411
412       # How often to check for (and delete) trashed blocks whose
413       # BlobTrashLifetime has expired.
414       BlobTrashCheckInterval: 24h
415
416       # Maximum number of concurrent "trash blob" and "delete trashed
417       # blob" operations conducted by a single keepstore process. Each
418       # of these can be set to 0 to disable the respective operation.
419       #
420       # If BlobTrashLifetime is zero, "trash" and "delete trash"
421       # happen at once, so only the lower of these two values is used.
422       BlobTrashConcurrency: 4
423       BlobDeleteConcurrency: 4
424
425       # Maximum number of concurrent "create additional replica of
426       # existing blob" operations conducted by a single keepstore
427       # process.
428       BlobReplicateConcurrency: 4
429
430       # Default replication level for collections. This is used when a
431       # collection's replication_desired attribute is nil.
432       DefaultReplication: 2
433
434       # BlobSigningTTL determines the minimum lifetime of transient
435       # data, i.e., blocks that are not referenced by
436       # collections. Unreferenced blocks exist for two reasons:
437       #
438       # 1) A data block must be written to a disk/cloud backend device
439       # before a collection can be created/updated with a reference to
440       # it.
441       #
442       # 2) Deleting or updating a collection can remove the last
443       # remaining reference to a data block.
444       #
445       # If BlobSigningTTL is too short, long-running
446       # processes/containers will fail when they take too long (a)
447       # between writing blocks and writing collections that reference
448       # them, or (b) between reading collections and reading the
449       # referenced blocks.
450       #
451       # If BlobSigningTTL is too long, data will still be stored long
452       # after the referring collections are deleted, and you will
453       # needlessly fill up disks or waste money on cloud storage.
454       #
455       # Modifying BlobSigningTTL invalidates existing signatures; see
456       # BlobSigningKey note above.
457       #
458       # The default is 2 weeks.
459       BlobSigningTTL: 336h
460
461       # When running keep-balance, this is the destination filename for
462       # the list of lost block hashes if there are any, one per line.
463       # Updated automically during each successful run.
464       BlobMissingReport: ""
465
466       # keep-balance operates periodically, i.e.: do a
467       # scan/balance operation, sleep, repeat.
468       #
469       # BalancePeriod determines the interval between start times of
470       # successive scan/balance operations. If a scan/balance operation
471       # takes longer than BalancePeriod, the next one will follow it
472       # immediately.
473       #
474       # If SIGUSR1 is received during an idle period between operations,
475       # the next operation will start immediately.
476       BalancePeriod: 10m
477
478       # Limits the number of collections retrieved by keep-balance per
479       # API transaction. If this is zero, page size is
480       # determined by the API server's own page size limits (see
481       # API.MaxItemsPerResponse and API.MaxIndexDatabaseRead).
482       BalanceCollectionBatch: 0
483
484       # The size of keep-balance's internal queue of
485       # collections. Higher values use more memory and improve throughput
486       # by allowing keep-balance to fetch the next page of collections
487       # while the current page is still being processed. If this is zero
488       # or omitted, pages are processed serially.
489       BalanceCollectionBuffers: 1000
490
491       # Maximum time for a rebalancing run. This ensures keep-balance
492       # eventually gives up and retries if, for example, a network
493       # error causes a hung connection that is never closed by the
494       # OS. It should be long enough that it doesn't interrupt a
495       # long-running balancing operation.
496       BalanceTimeout: 6h
497
498       # Maximum number of replication_confirmed /
499       # storage_classes_confirmed updates to write to the database
500       # after a rebalancing run. When many updates are needed, this
501       # spreads them over a few runs rather than applying them all at
502       # once.
503       BalanceUpdateLimit: 100000
504
505       # Default lifetime for ephemeral collections: 2 weeks. This must not
506       # be less than BlobSigningTTL.
507       DefaultTrashLifetime: 336h
508
509       # Interval (seconds) between trash sweeps. During a trash sweep,
510       # collections are marked as trash if their trash_at time has
511       # arrived, and deleted if their delete_at time has arrived.
512       TrashSweepInterval: 60s
513
514       # If true, enable collection versioning.
515       # When a collection's preserve_version field is true or the current version
516       # is older than the amount of seconds defined on PreserveVersionIfIdle,
517       # a snapshot of the collection's previous state is created and linked to
518       # the current collection.
519       CollectionVersioning: true
520
521       #   0s = auto-create a new version on every update.
522       #  -1s = never auto-create new versions.
523       # > 0s = auto-create a new version when older than the specified number of seconds.
524       PreserveVersionIfIdle: 10s
525
526       # If non-empty, allow project and collection names to contain
527       # the "/" character (slash/stroke/solidus), and replace "/" with
528       # the given string in the filesystem hierarchy presented by
529       # WebDAV. Example values are "%2f" and "{slash}". Names that
530       # contain the substitution string itself may result in confusing
531       # behavior, so a value like "_" is not recommended.
532       #
533       # If the default empty value is used, the server will reject
534       # requests to create or rename a collection when the new name
535       # contains "/".
536       #
537       # If the value "/" is used, project and collection names
538       # containing "/" will be allowed, but they will not be
539       # accessible via WebDAV.
540       #
541       # Use of this feature is not recommended, if it can be avoided.
542       ForwardSlashNameSubstitution: ""
543
544       # Include "folder objects" in S3 ListObjects responses.
545       S3FolderObjects: true
546
547       # Managed collection properties. At creation time, if the client didn't
548       # provide the listed keys, they will be automatically populated following
549       # one of the following behaviors:
550       #
551       # * UUID of the user who owns the containing project.
552       #   responsible_person_uuid: {Function: original_owner, Protected: true}
553       #
554       # * Default concrete value.
555       #   foo_bar: {Value: baz, Protected: false}
556       #
557       # If Protected is true, only an admin user can modify its value.
558       ManagedProperties:
559         SAMPLE: {Function: original_owner, Protected: true}
560
561       # In "trust all content" mode, Workbench will redirect download
562       # requests to WebDAV preview link, even in the cases when
563       # WebDAV would have to expose XSS vulnerabilities in order to
564       # handle the redirect (see discussion on Services.WebDAV).
565       #
566       # This setting has no effect in the recommended configuration, where the
567       # WebDAV service is configured to have a separate domain for every
568       # collection and XSS protection is provided by browsers' same-origin
569       # policy.
570       #
571       # The default setting (false) is appropriate for a multi-user site.
572       TrustAllContent: false
573
574       # Cache parameters for WebDAV content serving:
575       WebDAVCache:
576         # Time to cache manifests, permission checks, and sessions.
577         TTL: 300s
578
579         # Time to cache collection state.
580         UUIDTTL: 5s
581
582         # Block cache entries. Each block consumes up to 64 MiB RAM.
583         MaxBlockEntries: 20
584
585         # Collection cache entries.
586         MaxCollectionEntries: 1000
587
588         # Approximate memory limit (in bytes) for collection cache.
589         MaxCollectionBytes: 100000000
590
591         # UUID cache entries.
592         MaxUUIDEntries: 1000
593
594         # Persistent sessions.
595         MaxSessions: 100
596
597       # Selectively set permissions for regular users and admins to
598       # download or upload data files using the upload/download
599       # features for Workbench, WebDAV and S3 API support.
600       WebDAVPermission:
601         User:
602           Download: true
603           Upload: true
604         Admin:
605           Download: true
606           Upload: true
607
608       # Selectively set permissions for regular users and admins to be
609       # able to download or upload blocks using arv-put and
610       # arv-get from outside the cluster.
611       KeepproxyPermission:
612         User:
613           Download: true
614           Upload: true
615         Admin:
616           Download: true
617           Upload: true
618
619       # Post upload / download events to the API server logs table, so
620       # that they can be included in the arv-user-activity report.
621       # You can disable this if you find that it is creating excess
622       # load on the API server and you don't need it.
623       WebDAVLogEvents: true
624
625     Login:
626       # One of the following mechanisms (Google, PAM, LDAP, or
627       # LoginCluster) should be enabled; see
628       # https://doc.arvados.org/install/setup-login.html
629
630       Google:
631         # Authenticate with Google.
632         Enable: false
633
634         # Use the Google Cloud console to enable the People API (APIs
635         # and Services > Enable APIs and services > Google People API
636         # > Enable), generate a Client ID and secret (APIs and
637         # Services > Credentials > Create credentials > OAuth client
638         # ID > Web application) and add your controller's /login URL
639         # (e.g., "https://zzzzz.example.com/login") as an authorized
640         # redirect URL.
641         ClientID: ""
642         ClientSecret: ""
643
644         # Allow users to log in to existing accounts using any verified
645         # email address listed by their Google account. If true, the
646         # Google People API must be enabled in order for Google login to
647         # work. If false, only the primary email address will be used.
648         AlternateEmailAddresses: true
649
650         # Send additional parameters with authentication requests. See
651         # https://developers.google.com/identity/protocols/oauth2/openid-connect#authenticationuriparameters
652         # for a list of supported parameters.
653         AuthenticationRequestParameters:
654           # Show the "choose which Google account" page, even if the
655           # client is currently logged in to exactly one Google
656           # account.
657           prompt: select_account
658
659           SAMPLE: ""
660
661       OpenIDConnect:
662         # Authenticate with an OpenID Connect provider.
663         Enable: false
664
665         # Issuer URL, e.g., "https://login.example.com".
666         #
667         # This must be exactly equal to the URL returned by the issuer
668         # itself in its config response ("isser" key). If the
669         # configured value is "https://example" and the provider
670         # returns "https://example:443" or "https://example/" then
671         # login will fail, even though those URLs are equivalent
672         # (RFC3986).
673         Issuer: ""
674
675         # Your client ID and client secret (supplied by the provider).
676         ClientID: ""
677         ClientSecret: ""
678
679         # OpenID claim field containing the user's email
680         # address. Normally "email"; see
681         # https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims
682         EmailClaim: "email"
683
684         # OpenID claim field containing the email verification
685         # flag. Normally "email_verified".  To accept every returned
686         # email address without checking a "verified" field at all,
687         # use the empty string "".
688         EmailVerifiedClaim: "email_verified"
689
690         # OpenID claim field containing the user's preferred
691         # username. If empty, use the mailbox part of the user's email
692         # address.
693         UsernameClaim: ""
694
695         # Send additional parameters with authentication requests,
696         # like {display: page, prompt: consent}. See
697         # https://openid.net/specs/openid-connect-core-1_0.html#AuthRequest
698         # and refer to your provider's documentation for supported
699         # parameters.
700         AuthenticationRequestParameters:
701           SAMPLE: ""
702
703         # Accept an OIDC access token as an API token if the OIDC
704         # provider's UserInfo endpoint accepts it.
705         #
706         # AcceptAccessTokenScope should also be used when enabling
707         # this feature.
708         AcceptAccessToken: false
709
710         # Before accepting an OIDC access token as an API token, first
711         # check that it is a JWT whose "scope" value includes this
712         # value. Example: "https://zzzzz.example.com/" (your Arvados
713         # API endpoint).
714         #
715         # If this value is empty and AcceptAccessToken is true, all
716         # access tokens will be accepted regardless of scope,
717         # including non-JWT tokens. This is not recommended.
718         AcceptAccessTokenScope: ""
719
720       PAM:
721         # Use PAM to authenticate users.
722         Enable: false
723
724         # PAM service name. PAM will apply the policy in the
725         # corresponding config file (e.g., /etc/pam.d/arvados) or, if
726         # there is none, the default "other" config.
727         Service: arvados
728
729         # Domain name (e.g., "example.com") to use to construct the
730         # user's email address if PAM authentication returns a
731         # username with no "@". If empty, use the PAM username as the
732         # user's email address, whether or not it contains "@".
733         #
734         # Note that the email address is used as the primary key for
735         # user records when logging in. Therefore, if you change
736         # PAMDefaultEmailDomain after the initial installation, you
737         # should also update existing user records to reflect the new
738         # domain. Otherwise, next time those users log in, they will
739         # be given new accounts instead of accessing their existing
740         # accounts.
741         DefaultEmailDomain: ""
742
743       LDAP:
744         # Use an LDAP service to authenticate users.
745         Enable: false
746
747         # Server URL, like "ldap://ldapserver.example.com:389" or
748         # "ldaps://ldapserver.example.com:636".
749         URL: "ldap://ldap:389"
750
751         # Use StartTLS upon connecting to the server.
752         StartTLS: true
753
754         # Skip TLS certificate name verification.
755         InsecureTLS: false
756
757         # Strip the @domain part if a user supplies an email-style
758         # username with this domain. If "*", strip any user-provided
759         # domain. If "", never strip the domain part. Example:
760         # "example.com"
761         StripDomain: ""
762
763         # If, after applying StripDomain, the username contains no "@"
764         # character, append this domain to form an email-style
765         # username. Example: "example.com"
766         AppendDomain: ""
767
768         # The LDAP attribute to filter on when looking up a username
769         # (after applying StripDomain and AppendDomain).
770         SearchAttribute: uid
771
772         # Bind with this username (DN or UPN) and password when
773         # looking up the user record.
774         #
775         # Example user: "cn=admin,dc=example,dc=com"
776         SearchBindUser: ""
777         SearchBindPassword: ""
778
779         # Directory base for username lookup. Example:
780         # "ou=Users,dc=example,dc=com"
781         SearchBase: ""
782
783         # Additional filters to apply when looking up users' LDAP
784         # entries. This can be used to restrict access to a subset of
785         # LDAP users, or to disambiguate users from other directory
786         # entries that have the SearchAttribute present.
787         #
788         # Special characters in assertion values must be escaped (see
789         # RFC4515).
790         #
791         # Example: "(objectClass=person)"
792         SearchFilters: ""
793
794         # LDAP attribute to use as the user's email address.
795         #
796         # Important: This must not be an attribute whose value can be
797         # edited in the directory by the users themselves. Otherwise,
798         # users can take over other users' Arvados accounts trivially
799         # (email address is the primary key for Arvados accounts.)
800         EmailAttribute: mail
801
802         # LDAP attribute to use as the preferred Arvados username. If
803         # no value is found (or this config is empty) the username
804         # originally supplied by the user will be used.
805         UsernameAttribute: uid
806
807       Test:
808         # Authenticate users listed here in the config file. This
809         # feature is intended to be used in test environments, and
810         # should not be used in production.
811         Enable: false
812         Users:
813           SAMPLE:
814             Email: alice@example.com
815             Password: xyzzy
816
817       # The cluster ID to delegate the user database.  When set,
818       # logins on this cluster will be redirected to the login cluster
819       # (login cluster must appear in RemoteClusters with Proxy: true)
820       LoginCluster: ""
821
822       # How long a cached token belonging to a remote cluster will
823       # remain valid before it needs to be revalidated.
824       RemoteTokenRefresh: 5m
825
826       # How long a client token created from a login flow will be valid without
827       # asking the user to re-login. Example values: 60m, 8h.
828       # Default value zero means tokens don't have expiration.
829       TokenLifetime: 0s
830
831       # If true (default) tokens issued through login are allowed to create
832       # new tokens.
833       # If false, tokens issued through login are not allowed to
834       # viewing/creating other tokens.  New tokens can only be created
835       # by going through login again.
836       IssueTrustedTokens: true
837
838       # When the token is returned to a client, the token itself may
839       # be restricted from viewing/creating other tokens based on whether
840       # the client is "trusted" or not.  The local Workbench1 and
841       # Workbench2 are trusted by default, but if this is a
842       # LoginCluster, you probably want to include the other Workbench
843       # instances in the federation in this list.
844       TrustedClients:
845         SAMPLE:
846           "https://workbench.federate1.example": {}
847           "https://workbench.federate2.example": {}
848
849     Git:
850       # Path to git or gitolite-shell executable. Each authenticated
851       # request will execute this program with the single argument "http-backend"
852       GitCommand: /usr/bin/git
853
854       # Path to Gitolite's home directory. If a non-empty path is given,
855       # the CGI environment will be set up to support the use of
856       # gitolite-shell as a GitCommand: for example, if GitoliteHome is
857       # "/gh", then the CGI environment will have GITOLITE_HTTP_HOME=/gh,
858       # PATH=$PATH:/gh/bin, and GL_BYPASS_ACCESS_CHECKS=1.
859       GitoliteHome: ""
860
861       # Git repositories must be readable by api server, or you won't be
862       # able to submit crunch jobs. To pass the test suites, put a clone
863       # of the arvados tree in {git_repositories_dir}/arvados.git or
864       # {git_repositories_dir}/arvados/.git
865       Repositories: /var/lib/arvados/git/repositories
866
867     TLS:
868       Certificate: ""
869       Key: ""
870       Insecure: false
871
872     Containers:
873       # List of supported Docker Registry image formats that compute nodes
874       # are able to use. `arv keep docker` will error out if a user tries
875       # to store an image with an unsupported format. Use an empty array
876       # to skip the compatibility check (and display a warning message to
877       # that effect).
878       #
879       # Example for sites running docker < 1.10: {"v1": {}}
880       # Example for sites running docker >= 1.10: {"v2": {}}
881       # Example for disabling check: {}
882       SupportedDockerImageFormats:
883         "v2": {}
884         SAMPLE: {}
885
886       # Include details about job reuse decisions in the server log. This
887       # causes additional database queries to run, so it should not be
888       # enabled unless you expect to examine the resulting logs for
889       # troubleshooting purposes.
890       LogReuseDecisions: false
891
892       # Default value for keep_cache_ram of a container's runtime_constraints.
893       DefaultKeepCacheRAM: 268435456
894
895       # Number of times a container can be unlocked before being
896       # automatically cancelled.
897       MaxDispatchAttempts: 5
898
899       # Default value for container_count_max for container requests.  This is the
900       # number of times Arvados will create a new container to satisfy a container
901       # request.  If a container is cancelled it will retry a new container if
902       # container_count < container_count_max on any container requests associated
903       # with the cancelled container.
904       MaxRetryAttempts: 3
905
906       # The maximum number of compute nodes that can be in use simultaneously
907       # If this limit is reduced, any existing nodes with slot number >= new limit
908       # will not be counted against the new limit. In other words, the new limit
909       # won't be strictly enforced until those nodes with higher slot numbers
910       # go down.
911       MaxComputeVMs: 64
912
913       # Schedule all child containers on preemptible instances (e.g. AWS
914       # Spot Instances) even if not requested by the submitter.
915       #
916       # If false, containers are scheduled on preemptible instances
917       # only when requested by the submitter.
918       #
919       # This flag is ignored if no preemptible instance types are
920       # configured, and has no effect on top-level containers.
921       AlwaysUsePreemptibleInstances: false
922
923       # Automatically add a preemptible variant for every
924       # non-preemptible entry in InstanceTypes below. The maximum bid
925       # price for the preemptible variant will be the non-preemptible
926       # price multiplied by PreemptiblePriceFactor. If 0, preemptible
927       # variants are not added automatically.
928       #
929       # A price factor of 1.0 is a reasonable starting point.
930       PreemptiblePriceFactor: 0
931
932       # PEM encoded SSH key (RSA, DSA, or ECDSA) used by the
933       # cloud dispatcher for executing containers on worker VMs.
934       # Begins with "-----BEGIN RSA PRIVATE KEY-----\n"
935       # and ends with "\n-----END RSA PRIVATE KEY-----\n".
936       DispatchPrivateKey: ""
937
938       # Maximum time to wait for workers to come up before abandoning
939       # stale locks from a previous dispatch process.
940       StaleLockTimeout: 1m
941
942       # The crunch-run command used to start a container on a worker node.
943       #
944       # When dispatching to cloud VMs, this is used only if
945       # DeployRunnerBinary in the CloudVMs section is set to the empty
946       # string.
947       CrunchRunCommand: "crunch-run"
948
949       # Extra arguments to add to crunch-run invocation
950       # Example: ["--cgroup-parent-subsystem=memory"]
951       CrunchRunArgumentsList: []
952
953       # Extra RAM to reserve on the node, in addition to
954       # the amount specified in the container's RuntimeConstraints
955       ReserveExtraRAM: 256MiB
956
957       # Minimum time between two attempts to run the same container
958       MinRetryPeriod: 0s
959
960       # Container runtime: "docker" (default) or "singularity"
961       RuntimeEngine: docker
962
963       # When running a container, run a dedicated keepstore process,
964       # using the specified number of 64 MiB memory buffers per
965       # allocated CPU core (VCPUs in the container's runtime
966       # constraints). The dedicated keepstore handles I/O for
967       # collections mounted in the container, as well as saving
968       # container logs.
969       #
970       # A zero value disables this feature.
971       #
972       # In order for this feature to be activated, no volume may use
973       # AccessViaHosts, and no writable volume may have Replication
974       # lower than Collections.DefaultReplication. If these
975       # requirements are not satisfied, the feature is disabled
976       # automatically regardless of the value given here.
977       #
978       # When an HPC dispatcher is in use (see SLURM and LSF sections),
979       # this feature depends on the operator to ensure an up-to-date
980       # cluster configuration file (/etc/arvados/config.yml) is
981       # available on all compute nodes. If it is missing or not
982       # readable by the crunch-run user, the feature will be disabled
983       # automatically. To read it from a different location, add a
984       # "-config=/path/to/config.yml" argument to
985       # CrunchRunArgumentsList above.
986       #
987       # When the cloud dispatcher is in use (see CloudVMs section) and
988       # this configuration is enabled, the entire cluster
989       # configuration file, including the system root token, is copied
990       # to the worker node and held in memory for the duration of the
991       # container.
992       LocalKeepBlobBuffersPerVCPU: 1
993
994       # When running a dedicated keepstore process for a container
995       # (see LocalKeepBlobBuffersPerVCPU), write keepstore log
996       # messages to keepstore.txt in the container's log collection.
997       #
998       # These log messages can reveal some volume configuration
999       # details, error messages from the cloud storage provider, etc.,
1000       # which are not otherwise visible to users.
1001       #
1002       # Accepted values:
1003       # * "none" -- no keepstore.txt file
1004       # * "all" -- all logs, including request and response lines
1005       # * "errors" -- all logs except "response" logs with 2xx
1006       #   response codes and "request" logs
1007       LocalKeepLogsToContainerLog: none
1008
1009       Logging:
1010         # When you run the db:delete_old_container_logs task, it will find
1011         # containers that have been finished for at least this many seconds,
1012         # and delete their stdout, stderr, arv-mount, crunch-run, and
1013         # crunchstat logs from the logs table.
1014         MaxAge: 720h
1015
1016         # These two settings control how frequently log events are flushed to the
1017         # database.  Log lines are buffered until either crunch_log_bytes_per_event
1018         # has been reached or crunch_log_seconds_between_events has elapsed since
1019         # the last flush.
1020         LogBytesPerEvent: 4096
1021         LogSecondsBetweenEvents: 5s
1022
1023         # The sample period for throttling logs.
1024         LogThrottlePeriod: 60s
1025
1026         # Maximum number of bytes that job can log over crunch_log_throttle_period
1027         # before being silenced until the end of the period.
1028         LogThrottleBytes: 65536
1029
1030         # Maximum number of lines that job can log over crunch_log_throttle_period
1031         # before being silenced until the end of the period.
1032         LogThrottleLines: 1024
1033
1034         # Maximum bytes that may be logged by a single job.  Log bytes that are
1035         # silenced by throttling are not counted against this total.
1036         LimitLogBytesPerJob: 67108864
1037
1038         LogPartialLineThrottlePeriod: 5s
1039
1040         # Container logs are written to Keep and saved in a
1041         # collection, which is updated periodically while the
1042         # container runs.  This value sets the interval between
1043         # collection updates.
1044         LogUpdatePeriod: 30m
1045
1046         # The log collection is also updated when the specified amount of
1047         # log data (given in bytes) is produced in less than one update
1048         # period.
1049         LogUpdateSize: 32MiB
1050
1051       ShellAccess:
1052         # An admin user can use "arvados-client shell" to start an
1053         # interactive shell (with any user ID) in any running
1054         # container.
1055         Admin: false
1056
1057         # Any user can use "arvados-client shell" to start an
1058         # interactive shell (with any user ID) in any running
1059         # container that they started, provided it isn't also
1060         # associated with a different user's container request.
1061         #
1062         # Interactive sessions make it easy to alter the container's
1063         # runtime environment in ways that aren't recorded or
1064         # reproducible. Consider the implications for automatic
1065         # container reuse before enabling and using this feature. In
1066         # particular, note that starting an interactive session does
1067         # not disqualify a container from being reused by a different
1068         # user/workflow in the future.
1069         User: false
1070
1071       SLURM:
1072         PrioritySpread: 0
1073         SbatchArgumentsList: []
1074         SbatchEnvironmentVariables:
1075           SAMPLE: ""
1076         Managed:
1077           # Path to dns server configuration directory
1078           # (e.g. /etc/unbound.d/conf.d). If false, do not write any config
1079           # files or touch restart.txt (see below).
1080           DNSServerConfDir: ""
1081
1082           # Template file for the dns server host snippets. See
1083           # unbound.template in this directory for an example. If false, do
1084           # not write any config files.
1085           DNSServerConfTemplate: ""
1086
1087           # String to write to {dns_server_conf_dir}/restart.txt (with a
1088           # trailing newline) after updating local data. If false, do not
1089           # open or write the restart.txt file.
1090           DNSServerReloadCommand: ""
1091
1092           # Command to run after each DNS update. Template variables will be
1093           # substituted; see the "unbound" example below. If false, do not run
1094           # a command.
1095           DNSServerUpdateCommand: ""
1096
1097           ComputeNodeDomain: ""
1098           ComputeNodeNameservers:
1099             "192.168.1.1": {}
1100             SAMPLE: {}
1101
1102           # Hostname to assign to a compute node when it sends a "ping" and the
1103           # hostname in its Node record is nil.
1104           # During bootstrapping, the "ping" script is expected to notice the
1105           # hostname given in the ping response, and update its unix hostname
1106           # accordingly.
1107           # If false, leave the hostname alone (this is appropriate if your compute
1108           # nodes' hostnames are already assigned by some other mechanism).
1109           #
1110           # One way or another, the hostnames of your node records should agree
1111           # with your DNS records and your /etc/slurm-llnl/slurm.conf files.
1112           #
1113           # Example for compute0000, compute0001, ....:
1114           # assign_node_hostname: compute%<slot_number>04d
1115           # (See http://ruby-doc.org/core-2.2.2/Kernel.html#method-i-format for more.)
1116           AssignNodeHostname: "compute%<slot_number>d"
1117
1118       LSF:
1119         # Arguments to bsub when submitting Arvados containers as LSF jobs.
1120         #
1121         # Template variables starting with % will be substituted as follows:
1122         #
1123         # %U uuid
1124         # %C number of VCPUs
1125         # %M memory in MB
1126         # %T tmp in MB
1127         # %G number of GPU devices (runtime_constraints.cuda.device_count)
1128         #
1129         # Use %% to express a literal %. The %%J in the default will be changed
1130         # to %J, which is interpreted by bsub itself.
1131         #
1132         # Note that the default arguments cause LSF to write two files
1133         # in /tmp on the compute node each time an Arvados container
1134         # runs. Ensure you have something in place to delete old files
1135         # from /tmp, or adjust the "-o" and "-e" arguments accordingly.
1136         BsubArgumentsList: ["-o", "/tmp/crunch-run.%%J.out", "-e", "/tmp/crunch-run.%%J.err", "-J", "%U", "-n", "%C", "-D", "%MMB", "-R", "rusage[mem=%MMB:tmp=%TMB] span[hosts=1]", "-R", "select[mem>=%MMB]", "-R", "select[tmp>=%TMB]", "-R", "select[ncpus>=%C]"]
1137
1138         # Arguments that will be appended to the bsub command line
1139         # when submitting Arvados containers as LSF jobs with
1140         # runtime_constraints.cuda.device_count > 0
1141         BsubCUDAArguments: ["-gpu", "num=%G"]
1142
1143         # Use sudo to switch to this user account when submitting LSF
1144         # jobs.
1145         #
1146         # This account must exist on the hosts where LSF jobs run
1147         # ("execution hosts"), as well as on the host where the
1148         # Arvados LSF dispatcher runs ("submission host").
1149         BsubSudoUser: "crunch"
1150
1151       JobsAPI:
1152         # Enable the legacy 'jobs' API (crunch v1).  This value must be a string.
1153         #
1154         # Note: this only enables read-only access, creating new
1155         # legacy jobs and pipelines is not supported.
1156         #
1157         # 'auto' -- (default) enable the Jobs API only if it has been used before
1158         #         (i.e., there are job records in the database)
1159         # 'true' -- enable the Jobs API despite lack of existing records.
1160         # 'false' -- disable the Jobs API despite presence of existing records.
1161         Enable: 'auto'
1162
1163         # Git repositories must be readable by api server, or you won't be
1164         # able to submit crunch jobs. To pass the test suites, put a clone
1165         # of the arvados tree in {git_repositories_dir}/arvados.git or
1166         # {git_repositories_dir}/arvados/.git
1167         GitInternalDir: /var/lib/arvados/internal.git
1168
1169       CloudVMs:
1170         # Enable the cloud scheduler.
1171         Enable: false
1172
1173         # Name/number of port where workers' SSH services listen.
1174         SSHPort: "22"
1175
1176         # Interval between queue polls.
1177         PollInterval: 10s
1178
1179         # Shell command to execute on each worker to determine whether
1180         # the worker is booted and ready to run containers. It should
1181         # exit zero if the worker is ready.
1182         BootProbeCommand: "systemctl is-system-running"
1183
1184         # Minimum interval between consecutive probes to a single
1185         # worker.
1186         ProbeInterval: 10s
1187
1188         # Maximum probes per second, across all workers in a pool.
1189         MaxProbesPerSecond: 10
1190
1191         # Time before repeating SIGTERM when killing a container.
1192         TimeoutSignal: 5s
1193
1194         # Time to give up on a process (most likely arv-mount) that
1195         # still holds a container lockfile after its main supervisor
1196         # process has exited, and declare the instance broken.
1197         TimeoutStaleRunLock: 5s
1198
1199         # Time to give up on SIGTERM and write off the worker.
1200         TimeoutTERM: 2m
1201
1202         # Maximum create/destroy-instance operations per second (0 =
1203         # unlimited).
1204         MaxCloudOpsPerSecond: 10
1205
1206         # Maximum concurrent instance creation operations (0 = unlimited).
1207         #
1208         # MaxConcurrentInstanceCreateOps limits the number of instance creation
1209         # requests that can be in flight at any one time, whereas
1210         # MaxCloudOpsPerSecond limits the number of create/destroy operations
1211         # that can be started per second.
1212         #
1213         # Because the API for instance creation on Azure is synchronous, it is
1214         # recommended to increase MaxConcurrentInstanceCreateOps when running
1215         # on Azure. When using managed images, a value of 20 would be
1216         # appropriate. When using Azure Shared Image Galeries, it could be set
1217         # higher. For more information, see
1218         # https://docs.microsoft.com/en-us/azure/virtual-machines/linux/capture-image
1219         #
1220         # MaxConcurrentInstanceCreateOps can be increased for other cloud
1221         # providers too, if desired.
1222         MaxConcurrentInstanceCreateOps: 1
1223
1224         # Interval between cloud provider syncs/updates ("list all
1225         # instances").
1226         SyncInterval: 1m
1227
1228         # Time to leave an idle worker running (in case new containers
1229         # appear in the queue that it can run) before shutting it
1230         # down.
1231         TimeoutIdle: 1m
1232
1233         # Time to wait for a new worker to boot (i.e., pass
1234         # BootProbeCommand) before giving up and shutting it down.
1235         TimeoutBooting: 10m
1236
1237         # Maximum time a worker can stay alive with no successful
1238         # probes before being automatically shut down.
1239         TimeoutProbe: 10m
1240
1241         # Time after shutting down a worker to retry the
1242         # shutdown/destroy operation.
1243         TimeoutShutdown: 10s
1244
1245         # Worker VM image ID.
1246         # (aws) AMI identifier
1247         # (azure) managed disks: the name of the managed disk image
1248         # (azure) shared image gallery: the name of the image definition. Also
1249         # see the SharedImageGalleryName and SharedImageGalleryImageVersion fields.
1250         # (azure) unmanaged disks (deprecated): the complete URI of the VHD, e.g.
1251         # https://xxxxx.blob.core.windows.net/system/Microsoft.Compute/Images/images/xxxxx.vhd
1252         ImageID: ""
1253
1254         # An executable file (located on the dispatcher host) to be
1255         # copied to cloud instances at runtime and used as the
1256         # container runner/supervisor. The default value is the
1257         # dispatcher program itself.
1258         #
1259         # Use the empty string to disable this step: nothing will be
1260         # copied, and cloud instances are assumed to have a suitable
1261         # version of crunch-run installed; see CrunchRunCommand above.
1262         DeployRunnerBinary: "/proc/self/exe"
1263
1264         # Tags to add on all resources (VMs, NICs, disks) created by
1265         # the container dispatcher. (Arvados's own tags --
1266         # InstanceType, IdleBehavior, and InstanceSecret -- will also
1267         # be added.)
1268         ResourceTags:
1269           SAMPLE: "tag value"
1270
1271         # Prefix for predefined tags used by Arvados (InstanceSetID,
1272         # InstanceType, InstanceSecret, IdleBehavior). With the
1273         # default value "Arvados", tags are "ArvadosInstanceSetID",
1274         # "ArvadosInstanceSecret", etc.
1275         #
1276         # This should only be changed while no cloud resources are in
1277         # use and the cloud dispatcher is not running. Otherwise,
1278         # VMs/resources that were added using the old tag prefix will
1279         # need to be detected and cleaned up manually.
1280         TagKeyPrefix: Arvados
1281
1282         # Cloud driver: "azure" (Microsoft Azure) or "ec2" (Amazon AWS).
1283         Driver: ec2
1284
1285         # Cloud-specific driver parameters.
1286         DriverParameters:
1287
1288           # (ec2) Credentials. Omit or leave blank if using IAM role.
1289           AccessKeyID: ""
1290           SecretAccessKey: ""
1291
1292           # (ec2) Instance configuration.
1293           SecurityGroupIDs:
1294             "SAMPLE": {}
1295           SubnetID: ""
1296           Region: ""
1297           EBSVolumeType: gp2
1298           AdminUsername: debian
1299           # (ec2) name of the IAMInstanceProfile for instances started by
1300           # the cloud dispatcher. Leave blank when not needed.
1301           IAMInstanceProfile: ""
1302
1303           # (azure) Credentials.
1304           SubscriptionID: ""
1305           ClientID: ""
1306           ClientSecret: ""
1307           TenantID: ""
1308
1309           # (azure) Instance configuration.
1310           CloudEnvironment: AzurePublicCloud
1311           Location: centralus
1312
1313           # (azure) The resource group where the VM and virtual NIC will be
1314           # created.
1315           ResourceGroup: ""
1316
1317           # (azure) The resource group of the Network to use for the virtual
1318           # NIC (if different from ResourceGroup)
1319           NetworkResourceGroup: ""
1320           Network: ""
1321           Subnet: ""
1322
1323           # (azure) managed disks: The resource group where the managed disk
1324           # image can be found (if different from ResourceGroup).
1325           ImageResourceGroup: ""
1326
1327           # (azure) shared image gallery: the name of the gallery
1328           SharedImageGalleryName: ""
1329           # (azure) shared image gallery: the version of the image definition
1330           SharedImageGalleryImageVersion: ""
1331
1332           # (azure) unmanaged disks (deprecated): Where to store the VM VHD blobs
1333           StorageAccount: ""
1334           BlobContainer: ""
1335
1336           # (azure) How long to wait before deleting VHD and NIC
1337           # objects that are no longer being used.
1338           DeleteDanglingResourcesAfter: 20s
1339
1340           # Account (that already exists in the VM image) that will be
1341           # set up with an ssh authorized key to allow the compute
1342           # dispatcher to connect.
1343           AdminUsername: arvados
1344
1345     InstanceTypes:
1346
1347       # Use the instance type name as the key (in place of "SAMPLE" in
1348       # this sample entry).
1349       SAMPLE:
1350         # Cloud provider's instance type. Defaults to the configured type name.
1351         ProviderType: ""
1352         VCPUs: 1
1353         RAM: 128MiB
1354         IncludedScratch: 16GB
1355         AddedScratch: 0
1356         Price: 0.1
1357         Preemptible: false
1358         # Include this section if the node type includes GPU (CUDA) support
1359         CUDA:
1360           DriverVersion: "11.0"
1361           HardwareCapability: "9.0"
1362           DeviceCount: 1
1363
1364     StorageClasses:
1365
1366       # If you use multiple storage classes, specify them here, using
1367       # the storage class name as the key (in place of "SAMPLE" in
1368       # this sample entry).
1369       #
1370       # Further info/examples:
1371       # https://doc.arvados.org/admin/storage-classes.html
1372       SAMPLE:
1373
1374         # Priority determines the order volumes should be searched
1375         # when reading data, in cases where a keepstore server has
1376         # access to multiple volumes with different storage classes.
1377         Priority: 0
1378
1379         # Default determines which storage class(es) should be used
1380         # when a user/client writes data or saves a new collection
1381         # without specifying storage classes.
1382         #
1383         # If any StorageClasses are configured, at least one of them
1384         # must have Default: true.
1385         Default: true
1386
1387     Volumes:
1388       SAMPLE:
1389         # AccessViaHosts specifies which keepstore processes can read
1390         # and write data on the volume.
1391         #
1392         # For a local filesystem, AccessViaHosts has one entry,
1393         # indicating which server the filesystem is located on.
1394         #
1395         # For a network-attached backend accessible by all keepstore
1396         # servers, like a cloud storage bucket or an NFS mount,
1397         # AccessViaHosts can be empty/omitted.
1398         #
1399         # Further info/examples:
1400         # https://doc.arvados.org/install/configure-fs-storage.html
1401         # https://doc.arvados.org/install/configure-s3-object-storage.html
1402         # https://doc.arvados.org/install/configure-azure-blob-storage.html
1403         AccessViaHosts:
1404           SAMPLE:
1405             ReadOnly: false
1406           "http://host1.example:25107": {}
1407         ReadOnly: false
1408         Replication: 1
1409         StorageClasses:
1410           # If you have configured storage classes (see StorageClasses
1411           # section above), add an entry here for each storage class
1412           # satisfied by this volume.
1413           SAMPLE: true
1414         Driver: S3
1415         DriverParameters:
1416           # for s3 driver -- see
1417           # https://doc.arvados.org/install/configure-s3-object-storage.html
1418           IAMRole: aaaaa
1419           AccessKeyID: aaaaa
1420           SecretAccessKey: aaaaa
1421           Endpoint: ""
1422           Region: us-east-1
1423           Bucket: aaaaa
1424           LocationConstraint: false
1425           V2Signature: false
1426           IndexPageSize: 1000
1427           ConnectTimeout: 1m
1428           ReadTimeout: 10m
1429           RaceWindow: 24h
1430           PrefixLength: 0
1431           # Use aws-s3-go (v2) instead of goamz
1432           UseAWSS3v2Driver: false
1433
1434           # For S3 driver, potentially unsafe tuning parameter,
1435           # intentionally excluded from main documentation.
1436           #
1437           # Enable deletion (garbage collection) even when the
1438           # configured BlobTrashLifetime is zero.  WARNING: eventual
1439           # consistency may result in race conditions that can cause
1440           # data loss.  Do not enable this unless you understand and
1441           # accept the risk.
1442           UnsafeDelete: false
1443
1444           # for azure driver -- see
1445           # https://doc.arvados.org/install/configure-azure-blob-storage.html
1446           StorageAccountName: aaaaa
1447           StorageAccountKey: aaaaa
1448           StorageBaseURL: core.windows.net
1449           ContainerName: aaaaa
1450           RequestTimeout: 30s
1451           ListBlobsRetryDelay: 10s
1452           ListBlobsMaxAttempts: 10
1453           MaxGetBytes: 0
1454           WriteRaceInterval: 15s
1455           WriteRacePollTime: 1s
1456
1457           # for local directory driver -- see
1458           # https://doc.arvados.org/install/configure-fs-storage.html
1459           Root: /var/lib/arvados/keep-data
1460
1461           # For local directory driver, potentially confusing tuning
1462           # parameter, intentionally excluded from main documentation.
1463           #
1464           # When true, read and write operations (for whole 64MiB
1465           # blocks) on an individual volume will queued and issued
1466           # serially.  When false, read and write operations will be
1467           # issued concurrently.
1468           #
1469           # May possibly improve throughput if you have physical spinning disks
1470           # and experience contention when there are multiple requests
1471           # to the same volume.
1472           #
1473           # Otherwise, when using SSDs, RAID, or a shared network filesystem, you
1474           # should leave this alone.
1475           Serialize: false
1476
1477     Mail:
1478       MailchimpAPIKey: ""
1479       MailchimpListID: ""
1480       SendUserSetupNotificationEmail: true
1481
1482       # Bug/issue report notification to and from addresses
1483       IssueReporterEmailFrom: "arvados@example.com"
1484       IssueReporterEmailTo: "arvados@example.com"
1485       SupportEmailAddress: "arvados@example.com"
1486
1487       # Generic issue email from
1488       EmailFrom: "arvados@example.com"
1489     RemoteClusters:
1490       "*":
1491         Host: ""
1492         Proxy: false
1493         Scheme: https
1494         Insecure: false
1495         ActivateUsers: false
1496       SAMPLE:
1497         # API endpoint host or host:port; default is {id}.arvadosapi.com
1498         Host: sample.arvadosapi.com
1499
1500         # Perform a proxy request when a local client requests an
1501         # object belonging to this remote.
1502         Proxy: false
1503
1504         # Default "https". Can be set to "http" for testing.
1505         Scheme: https
1506
1507         # Disable TLS verify. Can be set to true for testing.
1508         Insecure: false
1509
1510         # When users present tokens issued by this remote cluster, and
1511         # their accounts are active on the remote cluster, activate
1512         # them on this cluster too.
1513         ActivateUsers: false
1514
1515     Workbench:
1516       # Workbench1 configs
1517       Theme: default
1518       ActivationContactLink: mailto:info@arvados.org
1519       ArvadosDocsite: https://doc.arvados.org
1520       ArvadosPublicDataDocURL: https://playground.arvados.org/projects/public
1521       ShowUserAgreementInline: false
1522       SecretKeyBase: ""
1523
1524       # Set this configuration to true to avoid providing an easy way for users
1525       # to share data with unauthenticated users; this may be necessary on
1526       # installations where strict data access controls are needed.
1527       DisableSharingURLsUI: false
1528
1529       # Scratch directory used by the remote repository browsing
1530       # feature. If it doesn't exist, it (and any missing parents) will be
1531       # created using mkdir_p.
1532       RepositoryCache: /var/www/arvados-workbench/current/tmp/git
1533
1534       # Below is a sample setting of user_profile_form_fields config parameter.
1535       # This configuration parameter should be set to either false (to disable) or
1536       # to a map as shown below.
1537       # Configure the map of input fields to be displayed in the profile page
1538       # using the attribute "key" for each of the input fields.
1539       # This sample shows configuration with one required and one optional form fields.
1540       # For each of these input fields:
1541       #   You can specify "Type" as "text" or "select".
1542       #   List the "Options" to be displayed for each of the "select" menu.
1543       #   Set "Required" as "true" for any of these fields to make them required.
1544       # If any of the required fields are missing in the user's profile, the user will be
1545       # redirected to the profile page before they can access any Workbench features.
1546       UserProfileFormFields:
1547         SAMPLE:
1548           Type: select
1549           FormFieldTitle: Best color
1550           FormFieldDescription: your favorite color
1551           Required: false
1552           Position: 1
1553           Options:
1554             red: {}
1555             blue: {}
1556             green: {}
1557             SAMPLE: {}
1558
1559         # exampleTextValue:  # key that will be set in properties
1560         #   Type: text  #
1561         #   FormFieldTitle: ""
1562         #   FormFieldDescription: ""
1563         #   Required: true
1564         #   Position: 1
1565         # exampleOptionsValue:
1566         #   Type: select
1567         #   FormFieldTitle: ""
1568         #   FormFieldDescription: ""
1569         #   Required: true
1570         #   Position: 1
1571         #   Options:
1572         #     red: {}
1573         #     blue: {}
1574         #     yellow: {}
1575
1576       # Use "UserProfileFormMessage to configure the message you want
1577       # to display on the profile page.
1578       UserProfileFormMessage: 'Welcome to Arvados. All <span style="color:red">required fields</span> must be completed before you can proceed.'
1579
1580       # Mimetypes of applications for which the view icon
1581       # would be enabled in a collection's show page.
1582       # It is sufficient to list only applications here.
1583       # No need to list text and image types.
1584       ApplicationMimetypesWithViewIcon:
1585         cwl: {}
1586         fasta: {}
1587         go: {}
1588         javascript: {}
1589         json: {}
1590         pdf: {}
1591         python: {}
1592         x-python: {}
1593         r: {}
1594         rtf: {}
1595         sam: {}
1596         x-sh: {}
1597         vnd.realvnc.bed: {}
1598         xml: {}
1599         xsl: {}
1600         SAMPLE: {}
1601
1602       # The maximum number of bytes to load in the log viewer
1603       LogViewerMaxBytes: 1M
1604
1605       # When anonymous_user_token is configured, show public projects page
1606       EnablePublicProjectsPage: true
1607
1608       # By default, disable the "Getting Started" popup which is specific to Arvados playground
1609       EnableGettingStartedPopup: false
1610
1611       # Ask Arvados API server to compress its response payloads.
1612       APIResponseCompression: true
1613
1614       # Timeouts for API requests.
1615       APIClientConnectTimeout: 2m
1616       APIClientReceiveTimeout: 5m
1617
1618       # Maximum number of historic log records of a running job to fetch
1619       # and display in the Log tab, while subscribing to web sockets.
1620       RunningJobLogRecordsToFetch: 2000
1621
1622       # In systems with many shared projects, loading of dashboard and topnav
1623       # can be slow due to collections indexing; use the following parameters
1624       # to suppress these properties
1625       ShowRecentCollectionsOnDashboard: true
1626       ShowUserNotifications: true
1627
1628       # Enable/disable "multi-site search" in top nav ("true"/"false"), or
1629       # a link to the multi-site search page on a "home" Workbench site.
1630       #
1631       # Example:
1632       #   https://workbench.zzzzz.arvadosapi.com/collections/multisite
1633       MultiSiteSearch: ""
1634
1635       # Should workbench allow management of local git repositories? Set to false if
1636       # the jobs api is disabled and there are no local git repositories.
1637       Repositories: true
1638
1639       SiteName: Arvados Workbench
1640       ProfilingEnabled: false
1641
1642       # This is related to obsolete Google OpenID 1.0 login
1643       # but some workbench stuff still expects it to be set.
1644       DefaultOpenIdPrefix: "https://www.google.com/accounts/o8/id"
1645
1646       # Workbench2 configs
1647       FileViewersConfigURL: ""
1648
1649       # Idle time after which the user's session will be auto closed.
1650       # This feature is disabled when set to zero.
1651       IdleTimeout: 0s
1652
1653       # Workbench welcome screen, this is HTML text that will be
1654       # incorporated directly onto the page.
1655       WelcomePageHTML: |
1656         <img src="/arvados-logo-big.png" style="width: 20%; float: right; padding: 1em;" />
1657         <h2>Please log in.</h2>
1658
1659         <p>If you have never used Arvados Workbench before, logging in
1660         for the first time will automatically create a new
1661         account.</p>
1662
1663         <i>Arvados Workbench uses your information only for
1664         identification, and does not retrieve any other personal
1665         information.</i>
1666
1667       # Workbench screen displayed to inactive users.  This is HTML
1668       # text that will be incorporated directly onto the page.
1669       InactivePageHTML: |
1670         <img src="/arvados-logo-big.png" style="width: 20%; float: right; padding: 1em;" />
1671         <h3>Hi! You're logged in, but...</h3>
1672         <p>Your account is inactive.</p>
1673         <p>An administrator must activate your account before you can get
1674         any further.</p>
1675
1676       # Connecting to Arvados shell VMs tends to be site-specific.
1677       # Put any special instructions here. This is HTML text that will
1678       # be incorporated directly onto the Workbench page.
1679       SSHHelpPageHTML: |
1680         <a href="https://doc.arvados.org/user/getting_started/ssh-access-unix.html">Accessing an Arvados VM with SSH</a> (generic instructions).
1681         Site configurations vary.  Contact your local cluster administrator if you have difficulty accessing an Arvados shell node.
1682
1683       # Sample text if you are using a "switchyard" ssh proxy.
1684       # Replace "zzzzz" with your Cluster ID.
1685       #SSHHelpPageHTML: |
1686       # <p>Add a section like this to your SSH configuration file ( <i>~/.ssh/config</i>):</p>
1687       # <pre>Host *.zzzzz
1688       #  TCPKeepAlive yes
1689       #  ServerAliveInterval 60
1690       #  ProxyCommand ssh -p2222 turnout@switchyard.zzzzz.arvadosapi.com -x -a $SSH_PROXY_FLAGS %h
1691       # </pre>
1692
1693       # If you are using a switchyard ssh proxy, shell node hostnames
1694       # may require a special hostname suffix.  In the sample ssh
1695       # configuration above, this would be ".zzzzz"
1696       # This is added to the hostname in the "command line" column
1697       # the Workbench "shell VMs" page.
1698       #
1699       # If your shell nodes are directly accessible by users without a
1700       # proxy and have fully qualified host names, you should leave
1701       # this blank.
1702       SSHHelpHostSuffix: ""
1703
1704 # (Experimental) Restart services automatically when config file
1705 # changes are detected. Only supported by `arvados-server boot` in
1706 # dev/test mode.
1707 AutoReloadConfig: false