20889: Allows customization on database name and user.
[arvados.git] / tools / salt-install / local.params.example.single_host_multiple_hostnames
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 you want tou give to 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=admin
17
18 INITIAL_USER=admin
19
20 # If not specified, the initial user email will be composed as
21 # INITIAL_USER@CLUSTER.DOMAIN
22 INITIAL_USER_EMAIL="admin@cluster_fixme_or_this_wont_work.domain_fixme_or_this_wont_work"
23
24 # SSL CERTIFICATES
25 # Arvados requires SSL certificates to work correctly. This installer supports these options:
26 # * self-signed: let the installer create self-signed certificate(s)
27 # * bring-your-own: supply your own certificate(s) in the `certs` directory
28 # * lets-encrypt: automatically obtain and install SSL certificates for your hostname(s)
29 #
30 # See https://doc.arvados.org/intall/salt-single-host.html#certificates for more information.
31 SSL_MODE="self-signed"
32
33 # CUSTOM_CERTS_DIR is only used when SSL_MODE is set to "bring-your-own".
34 # See https://doc.arvados.org/intall/salt-single-host.html#bring-your-own for more information.
35 # CUSTOM_CERTS_DIR="${SCRIPT_DIR}/local_config_dir/certs"
36
37 # Set the following to "yes" if the key files are encrypted and optionally set
38 # a custom AWS secret name for each node to retrieve the password.
39 SSL_KEY_ENCRYPTED="no"
40 SSL_KEY_AWS_SECRET_NAME="${CLUSTER}-arvados-ssl-privkey-password"
41
42 # Customize Prometheus & Grafana web UI access credentials
43 MONITORING_USERNAME=${INITIAL_USER}
44 MONITORING_PASSWORD=${INITIAL_USER_PASSWORD}
45 MONITORING_EMAIL=${INITIAL_USER_EMAIL}
46 # Sets the directory for Grafana dashboards
47 # GRAFANA_DASHBOARDS_DIR="${SCRIPT_DIR}/local_config_dir/dashboards"
48
49 # The mapping of nodes to roles
50 # installer.sh will log in to each of these nodes and then provision
51 # it for the specified roles.
52 NODES=(
53   [localhost]=''
54 )
55
56 # External ports used by the Arvados services
57 CONTROLLER_EXT_SSL_PORT=443
58 KEEP_EXT_SSL_PORT=25101
59 KEEPWEB_EXT_SSL_PORT=9002
60 WEBSHELL_EXT_SSL_PORT=4202
61 WEBSOCKET_EXT_SSL_PORT=8002
62 WORKBENCH1_EXT_SSL_PORT=443
63 WORKBENCH2_EXT_SSL_PORT=3001
64
65 CLUSTER_INT_CIDR=""
66 CONTROLLER_INT_IP=""
67 DATABASE_INT_IP=""
68 WORKBENCH1_INT_IP=""
69 DISPATCHER_INT_IP=""
70 KEEPBALANCE_INT_IP=""
71 WEBSOCKET_INT_IP=""
72 KEEPWEB_INT_IP=""
73 WORKBENCH2_INT_IP=""
74 WEBSHELL_INT_IP=""
75 KEEP_INT_IP=""
76 KEEPSTORE0_INT_IP=""
77 SHELL_INT_IP=""
78
79 DATABASE_NAME="${CLUSTER}_arvados"
80 DATABASE_USER="${CLUSTER}_arvados"
81 # Set this if using an external PostgreSQL service.
82 #DATABASE_EXTERNAL_SERVICE_HOST_OR_IP=
83
84 # The directory to check for the config files (pillars, states) you want to use.
85 # There are a few examples under 'config_examples'.
86 # CONFIG_DIR="local_config_dir"
87
88 # Extra states to apply. If you use your own subdir, change this value accordingly
89 # EXTRA_STATES_DIR="${CONFIG_DIR}/states"
90
91 # These are ARVADOS-related settings.
92 # Which release of Arvados repo you want to use
93 RELEASE="production"
94 # Which version of Arvados you want to install. Defaults to latest stable
95 # VERSION="2.1.2-1"
96
97 # This is an arvados-formula setting.
98 # If branch is set, the script will switch to it before running salt
99 # Usually not needed, only used for testing
100 # BRANCH="main"
101
102 ##########################################################
103 # Usually there's no need to modify things below this line
104
105 # Formulas versions
106 # ARVADOS_TAG="2.2.0"
107 # POSTGRES_TAG="v0.44.0"
108 # NGINX_TAG="v2.8.1"
109 # DOCKER_TAG="v2.4.2"
110 # LOCALE_TAG="v0.3.4"
111 # LETSENCRYPT_TAG="v2.1.0"
112 # PROMETHEUS_TAG="v5.6.5"
113 # GRAFANA_TAG="v3.1.3"