18870: Use bash [[ ]] conditional syntax and order deploy
[arvados.git] / tools / salt-install / local.params.example.single_host_single_hostname
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 Arvados cluster ID, needs to be 5 lowercase alphanumeric characters.
9 CLUSTER="cluster_fixme_or_this_wont_work"
10
11 # The domainname for your cluster's hosts
12 DOMAIN="domain_fixme_or_this_wont_work"
13
14 # For multi-node installs, the ssh log in for each node
15 # must be root or able to sudo
16 DEPLOY_USER=root
17
18 # The mapping of nodes to roles
19 # installer.sh will log in to each of these nodes and then provision
20 # it for the specified roles.
21 NODES=(
22   [localhost]=api,controller,websocket,dispatcher,keepbalance,keepstore,keepproxy,keepweb,workbench,workbench2,webshell
23 )
24
25 # Set this value when installing a cluster in a single host with a single
26 # hostname to access all the instances. HOSTNAME_EXT should be set to the
27 # external hostname for the instance.
28 HOSTNAME_EXT="hostname_ext_fixme_or_this_wont_work"
29
30 # The internal IP address for the host.
31 IP_INT="ip_int_fixme_or_this_wont_work"
32
33 # External ports used by the Arvados services
34 CONTROLLER_EXT_SSL_PORT=8800
35 KEEP_EXT_SSL_PORT=8801
36 KEEPWEB_EXT_SSL_PORT=8802
37 WEBSHELL_EXT_SSL_PORT=8803
38 WEBSOCKET_EXT_SSL_PORT=8804
39 WORKBENCH1_EXT_SSL_PORT=8805
40 WORKBENCH2_EXT_SSL_PORT=443
41
42 INITIAL_USER="admin"
43 # If not specified, the initial user email will be composed as
44 # INITIAL_USER@CLUSTER.DOMAIN
45 INITIAL_USER_EMAIL="admin@cluster_fixme_or_this_wont_work.domain_fixme_or_this_wont_work"
46 INITIAL_USER_PASSWORD="password"
47
48 # Populate these values with random strings
49 BLOB_SIGNING_KEY=blobsigningkeymushaveatleast32characters
50 MANAGEMENT_TOKEN=managementtokenmushaveatleast32characters
51 SYSTEM_ROOT_TOKEN=systemroottokenmushaveatleast32characters
52 ANONYMOUS_USER_TOKEN=anonymoususertokenmushaveatleast32characters
53 WORKBENCH_SECRET_KEY=workbenchsecretkeymushaveatleast32characters
54 DATABASE_PASSWORD=please_set_this_to_some_secure_value
55
56 # SSL CERTIFICATES
57 # Arvados requires SSL certificates to work correctly. This installer supports these options:
58 # * self-signed: let the installer create self-signed certificate(s)
59 # * bring-your-own: supply your own certificate(s) in the `certs` directory
60 # * lets-encrypt: automatically obtain and install SSL certificates for your hostname(s)
61 #
62 # See https://doc.arvados.org/intall/salt-single-host.html#certificates for more information.
63 SSL_MODE="self-signed"
64
65 # CUSTOM_CERTS_DIR is only used when SSL_MODE is set to "bring-your-own".
66 # See https://doc.arvados.org/intall/salt-single-host.html#bring-your-own for more information.
67 # CUSTOM_CERTS_DIR="${SCRIPT_DIR}/local_config_dir/certs"
68
69 # The directory to check for the config files (pillars, states) you want to use.
70 # There are a few examples under 'config_examples'.
71 # CONFIG_DIR="local_config_dir"
72
73 # Extra states to apply. If you use your own subdir, change this value accordingly
74 # EXTRA_STATES_DIR="${CONFIG_DIR}/states"
75
76 # These are ARVADOS-related settings.
77 # Which release of Arvados repo you want to use
78 RELEASE="production"
79 # Which version of Arvados you want to install. Defaults to latest stable
80 # VERSION="2.1.2-1"
81
82 # This is an arvados-formula setting.
83 # If branch is set, the script will switch to it before running salt
84 # Usually not needed, only used for testing
85 # BRANCH="main"
86
87 ##########################################################
88 # Usually there's no need to modify things below this line
89
90 # Formulas versions
91 # ARVADOS_TAG="2.2.0"
92 # POSTGRES_TAG="v0.44.0"
93 # NGINX_TAG="v2.8.1"
94 # DOCKER_TAG="v2.4.2"
95 # LOCALE_TAG="v0.3.4"
96 # LETSENCRYPT_TAG="v2.1.0"