feat(provision): add local.params example for multi-host
[arvados.git] / tools / salt-install / local.params.example.multiple_hosts
1 ##########################################################
2 # Copyright (C) The Arvados Authors. All rights reserved.
3 #
4 # SPDX-License-Identifier: CC-BY-SA-3.0
5
6 # These are the basic parameters to configure the installation
7
8 # The 5 letters name you want to give your cluster
9 CLUSTER="fixme"
10
11 # The domainname you want tou give to your cluster's hosts
12 DOMAIN="some.domain"
13
14 # When setting the cluster in a single host, you can use a single hostname
15 # to access all the instances. When using virtualization (ie AWS), this should be
16 # the EXTERNAL/PUBLIC hostname for the instance.
17 # If empty, the INTERNAL HOST IP will be used
18 HOSTNAME_EXT=""
19 # The internal hostname for the host. In the example files, only used in the
20 # single_host/single_hostname example
21 HOSTNAME_INT="127.0.1.1"
22 # Host SSL port where you want to point your browser to access Arvados
23 # Defaults to 443 for regular runs, and to 8443 when called in Vagrant.
24 # You can point it to another port if desired
25 # In Vagrant, make sure it matches what you set in the Vagrantfile (8443)
26 CONTROLLER_EXT_SSL_PORT=443
27 KEEP_EXT_SSL_PORT=443
28 # Both for collections and downloads
29 KEEPWEB_EXT_SSL_PORT=443
30 WEBSHELL_EXT_SSL_PORT=443
31 WEBSOCKET_EXT_SSL_PORT=443
32 WORKBENCH1_EXT_SSL_PORT=443
33 WORKBENCH2_EXT_SSL_PORT=443
34
35 # Internal IPs for the configuration
36 CLUSTER_INT_CIDR=10.0.0.0/16
37 CONTROLLER_INT_IP=10.0.0.1
38 WEBSOCKET_INT_IP=10.0.0.1
39 KEEP_INT_IP=10.0.0.2
40 KEEPSTORE0_INT_IP=10.0.0.3
41 KEEPSTORE1_INT_IP=10.0.0.4
42 # Both for collections and downloads
43 KEEPWEB_INT_IP=10.0.0.5
44 WEBSHELL_INT_IP=10.0.0.6
45 WORKBENCH1_INT_IP=10.0.0.7
46 WORKBENCH2_INT_IP=10.0.0.7
47 DATABASE_INT_IP=10.0.0.8
48
49 INITIAL_USER="admin"
50 INITIAL_USER_PASSWORD="password"
51
52 # If not specified, the initial user email will be composed as
53 # INITIAL_USER@CLUSTER.DOMAIN
54 INITIAL_USER_EMAIL="admin@fixme.some.domain"
55
56 # YOU SHOULD CHANGE THESE TO SOME RANDOM STRINGS
57 BLOB_SIGNING_KEY=blobsigningkeymushaveatleast32characters
58 MANAGEMENT_TOKEN=managementtokenmushaveatleast32characters
59 SYSTEM_ROOT_TOKEN=systemroottokenmushaveatleast32characters
60 ANONYMOUS_USER_TOKEN=anonymoususertokenmushaveatleast32characters
61 WORKBENCH_SECRET_KEY=workbenchsecretkeymushaveatleast32characters
62 DATABASE_PASSWORD=please_set_this_to_some_secure_value
63
64 # SSL CERTIFICATES
65 # Arvados REQUIRES valid SSL to work correctly. Otherwise, some components will fail
66 # to communicate and can silently drop traffic. You can try to use the Letsencrypt
67 # salt formula (https://github.com/saltstack-formulas/letsencrypt-formula) to try to
68 # automatically obtain and install SSL certificates for your instances or set this
69 # variable to "no", provide and upload your own certificates to the instances and
70 # modify the 'nginx_*' salt pillars accordingly
71 USE_LETSENCRYPT="yes"
72
73 # The directory to check for the config files (pillars, states) you want to use.
74 # There are a few examples under 'config_examples'. If you don't change this
75 # variable, the single_host, multiple_hostnames config will be used
76 # CONFIG_DIR="config_examples/single_host/single_hostname"
77 CONFIG_DIR="config_examples/multi_host/aws"
78 # Extra states to apply. If you use your own subdir, change this value accordingly
79 EXTRA_STATES_DIR="${CONFIG_DIR}/states"
80
81 # When using the single_host/single_hostname example, change to this one
82 # EXTRA_STATES_DIR="${CONFIG_DIR}/states"
83
84 # Which release of Arvados repo you want to use
85 RELEASE="production"
86 # Which version of Arvados you want to install. Defaults to 'latest'
87 # in the desired repo
88 VERSION="latest"
89
90 # This is an arvados-formula setting.
91 # If branch is set, the script will switch to it before running salt
92 # Usually not needed, only used for testing
93 BRANCH="master"
94
95 ##########################################################
96 # Usually there's no need to modify things below this line
97
98 # Formulas versions
99 # ARVADOS_TAG="v1.1.4"
100 # POSTGRES_TAG="v0.41.6"
101 # NGINX_TAG="temp-fix-missing-statements-in-pillar"
102 # DOCKER_TAG="v1.0.0"
103 # LOCALE_TAG="v0.3.4"
104 # LETSENCRYPT_TAG="v2.1.0"