X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/4d09cc94201d51076d53b671564598ef96580fdd..f9e3c066c35933d38439f6e6e894dfa23f8d07b6:/tools/salt-install/config_examples/single_host/single_hostname/pillars/arvados.sls diff --git a/tools/salt-install/config_examples/single_host/single_hostname/pillars/arvados.sls b/tools/salt-install/config_examples/single_host/single_hostname/pillars/arvados.sls index 8e4d66caf5..9e3a293110 100644 --- a/tools/salt-install/config_examples/single_host/single_hostname/pillars/arvados.sls +++ b/tools/salt-install/config_examples/single_host/single_hostname/pillars/arvados.sls @@ -5,6 +5,11 @@ # # SPDX-License-Identifier: AGPL-3.0 +{%- set database_host = ("__DATABASE_EXTERNAL_SERVICE_HOST_OR_IP__" or "127.0.0.1") %} +{%- set database_name = "__DATABASE_NAME__" %} +{%- set database_user = "__DATABASE_USER__" %} +{%- set database_password = "__DATABASE_PASSWORD__" %} + # The variables commented out are the default values that the formula uses. # The uncommented values are REQUIRED values. If you don't set them, running # this formula will fail. @@ -48,7 +53,8 @@ arvados: # - ruby-dev # - zlib1g-dev - # config: + config: + check_command: /usr/bin/arvados-server config-check -strict=false -config # file: /etc/arvados/config.yml # user: root ## IMPORTANT!!!!! @@ -65,19 +71,12 @@ arvados: database: # max concurrent connections per arvados server daemon # connection_pool_max: 32 - name: __CLUSTER___arvados - host: 127.0.0.1 - password: "__DATABASE_PASSWORD__" - user: __CLUSTER___arvados + name: {{ database_name }} + host: {{ database_host }} + password: {{ database_password }} + user: {{ database_user }} extra_conn_params: client_encoding: UTF8 - # Centos7 does not enable SSL by default, so we disable - # it here just for testing of the formula purposes only. - # You should not do this in production, and should - # configure Postgres certificates correctly - {%- if grains.os_family in ('RedHat',) %} - sslmode: disable - {%- endif %} tls: # certificate: '' @@ -88,8 +87,8 @@ arvados: resources: virtual_machines: shell: - name: webshell - backend: 127.0.1.1 + name: shell.__HOSTNAME_EXT__ + backend: 127.0.0.1 port: 4200 ### TOKENS @@ -101,7 +100,7 @@ arvados: ### KEYS secrets: blob_signing_key: __BLOB_SIGNING_KEY__ - workbench_secret_key: __WORKBENCH_SECRET_KEY__ + workbench_secret_key: "deprecated" Login: Test: @@ -123,7 +122,10 @@ arvados: Replication: 2 Driver: Directory DriverParameters: - Root: /tmp + Root: /var/lib/arvados/keep + + Containers: + LocalKeepBlobBuffersPerVCPU: 0 Users: NewUsersAreActive: true