X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/244e797aed6f895dcdfe72ed90b31f3fe4cf6f85..f43a1f883619d2ec25439145b9b35fec1265b0cc:/tools/salt-install/single_host/arvados.sls diff --git a/tools/salt-install/single_host/arvados.sls b/tools/salt-install/single_host/arvados.sls new file mode 100644 index 0000000000..9b1e41d46e --- /dev/null +++ b/tools/salt-install/single_host/arvados.sls @@ -0,0 +1,162 @@ +--- +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + +# 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. +arvados: + ### GENERAL CONFIG + version: '__VERSION__' + ## It makes little sense to disable this flag, but you can, if you want :) + # use_upstream_repo: true + + ## Repo URL is built with grains values. If desired, it can be completely + ## overwritten with the pillar parameter 'repo_url' + # repo: + # humanname: Arvados Official Repository + + release: __RELEASE__ + + ## IMPORTANT!!!!! + ## api, workbench and shell require some gems, so you need to make sure ruby + ## and deps are installed in order to install and compile the gems. + ## We default to `false` in these two variables as it's expected you already + ## manage OS packages with some other tool and you don't want us messing up + ## with your setup. + ruby: + ## We set these to `true` here for testing purposes. + ## They both default to `false`. + manage_ruby: true + manage_gems_deps: true + # pkg: ruby + # gems_deps: + # - curl + # - g++ + # - gcc + # - git + # - libcurl4 + # - libcurl4-gnutls-dev + # - libpq-dev + # - libxml2 + # - libxml2-dev + # - make + # - python3-dev + # - ruby-dev + # - zlib1g-dev + + # config: + # file: /etc/arvados/config.yml + # user: root + ## IMPORTANT!!!!! + ## If you're intalling any of the rails apps (api, workbench), the group + ## should be set to that of the web server, usually `www-data` + # group: root + # mode: 640 + + ### ARVADOS CLUSTER CONFIG + cluster: + name: __CLUSTER__ + domain: __DOMAIN__ + + database: + # max concurrent connections per arvados server daemon + # connection_pool_max: 32 + name: arvados + host: 127.0.0.1 + password: changeme_arvados + user: arvados + encoding: en_US.utf8 + client_encoding: UTF8 + + tls: + # certificate: '' + # key: '' + # required to test with snakeoil certs + insecure: true + + ### TOKENS + tokens: + system_root: changeme_system_root_token + management: changeme_management_token + rails_secret: changeme_rails_secret_token + anonymous_user: changeme_anonymous_user_token + + ### KEYS + secrets: + blob_signing_key: changeme_blob_signing_key + workbench_secret_key: changeme_workbench_secret_key + dispatcher_access_key: changeme_dispatcher_access_key + dispatcher_secret_key: changeme_dispatcher_secret_key + keep_access_key: changeme_keep_access_key + keep_secret_key: changeme_keep_secret_key + + Login: + Test: + Enable: true + javier: + User: javier@arva2.arv.local + Password: perico + + AuditLogs: + Section_to_ignore: + - some_random_value + + ### VOLUMES + ## This should usually match all your `keepstore` instances + Volumes: + # the volume name will be composed with + # -nyw5e- + __CLUSTER__-nyw5e-000000000000000: + AccessViaHosts: + http://keep0.__CLUSTER__.__DOMAIN__:25107: + ReadOnly: false + Replication: 2 + Driver: Directory + DriverParameters: + Root: /tmp + + Users: + NewUsersAreActive: true + AutoAdminFirstUser: true + AutoSetupNewUsers: true + AutoSetupNewUsersWithRepository: true + + Services: + Controller: + ExternalURL: https://__CLUSTER__.__DOMAIN__:__HOST_SSL_PORT__ + InternalURLs: + http://127.0.0.2:8003: {} + DispatchCloud: + InternalURLs: + http://__CLUSTER__.__DOMAIN__:9006: {} + Keepbalance: + InternalURLs: + http://__CLUSTER__.__DOMAIN__:9005: {} + Keepproxy: + ExternalURL: https://keep.__CLUSTER__.__DOMAIN__:__HOST_SSL_PORT__ + InternalURLs: + http://127.0.0.2:25100: {} + Keepstore: + InternalURLs: + http://keep0.__CLUSTER__.__DOMAIN__:25107: {} + RailsAPI: + InternalURLs: + http://127.0.0.2:8004: {} + WebDAV: + ExternalURL: https://collections.__CLUSTER__.__DOMAIN__:__HOST_SSL_PORT__ + InternalURLs: + http://127.0.0.2:9002: {} + WebDAVDownload: + ExternalURL: https://download.__CLUSTER__.__DOMAIN__:__HOST_SSL_PORT__ + WebShell: + ExternalURL: https://webshell.__CLUSTER__.__DOMAIN__:__HOST_SSL_PORT__ + Websocket: + ExternalURL: wss://ws.__CLUSTER__.__DOMAIN__/websocket + InternalURLs: + http://127.0.0.2:8005: {} + Workbench1: + ExternalURL: https://workbench.__CLUSTER__.__DOMAIN__:__HOST_SSL_PORT__ + Workbench2: + ExternalURL: https://workbench2.__CLUSTER__.__DOMAIN__:__HOST_SSL_PORT__