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