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