X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f023eb5138f8886820f33901b46b67ba9a0d24a2..31066a75b0405d7044127887bfb008df7bdd3aab:/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 f3d2bcb9ea..fc5b5a5756 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 @@ -1,3 +1,5 @@ +# -*- coding: utf-8 -*- +# vim: ft=yaml --- # Copyright (C) The Arvados Authors. All rights reserved. # @@ -63,24 +65,37 @@ arvados: database: # max concurrent connections per arvados server daemon # connection_pool_max: 32 - name: arvados + name: __CLUSTER___arvados host: 127.0.0.1 - password: changeme_arvados - user: arvados - encoding: en_US.utf8 - client_encoding: UTF8 + password: "__DATABASE_PASSWORD__" + user: __CLUSTER___arvados + 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: '' # key: '' - # required to test with arvados-snakeoil certs + # When using arvados-snakeoil certs set insecure: true insecure: true + resources: + virtual_machines: + shell: + name: __HOSTNAME_EXT__ + backend: 127.0.0.1 + port: 4200 + ### TOKENS tokens: system_root: __SYSTEM_ROOT_TOKEN__ management: __MANAGEMENT_TOKEN__ - rails_secret: __RAILS_SECRET_TOKEN__ anonymous_user: __ANONYMOUS_USER_TOKEN__ ### KEYS @@ -103,12 +118,15 @@ arvados: # -nyw5e- __CLUSTER__-nyw5e-000000000000000: AccessViaHosts: - 'http://__HOSTNAME_INT__:25107': + 'http://__IP_INT__:25107': ReadOnly: false Replication: 2 Driver: Directory DriverParameters: - Root: /tmp + Root: /var/lib/arvados/keep + + Containers: + LocalKeepBlobBuffersPerVCPU: 0 Users: NewUsersAreActive: true @@ -120,21 +138,24 @@ arvados: Controller: ExternalURL: 'https://__HOSTNAME_EXT__:__CONTROLLER_EXT_SSL_PORT__' InternalURLs: - 'http://__HOSTNAME_INT__:8003': {} + 'http://__IP_INT__:8003': {} + Keepbalance: + InternalURLs: + 'http://__IP_INT__:9005': {} Keepproxy: ExternalURL: 'https://__HOSTNAME_EXT__:__KEEP_EXT_SSL_PORT__' InternalURLs: - 'http://__HOSTNAME_INT__:25100': {} + 'http://__IP_INT__:25100': {} Keepstore: InternalURLs: - 'http://__HOSTNAME_INT__:25107': {} + 'http://__IP_INT__:25107': {} RailsAPI: InternalURLs: - 'http://__HOSTNAME_INT__:8004': {} + 'http://__IP_INT__:8004': {} WebDAV: ExternalURL: 'https://__HOSTNAME_EXT__:__KEEPWEB_EXT_SSL_PORT__' InternalURLs: - 'http://__HOSTNAME_INT__:9003': {} + 'http://__IP_INT__:9003': {} WebDAVDownload: ExternalURL: 'https://__HOSTNAME_EXT__:__KEEPWEB_EXT_SSL_PORT__' WebShell: @@ -142,7 +163,7 @@ arvados: Websocket: ExternalURL: 'wss://__HOSTNAME_EXT__:__WEBSOCKET_EXT_SSL_PORT__/websocket' InternalURLs: - 'http://__HOSTNAME_INT__:8005': {} + 'http://__IP_INT__:8005': {} Workbench1: ExternalURL: 'https://__HOSTNAME_EXT__:__WORKBENCH1_EXT_SSL_PORT__' Workbench2: