A.2. Environment Variables

Tungsten Dashboard uses environmental variables for some of its configuration. Environmental variables are used for Docker Compose method of installation and development mode.

Environmental variables are stored in .env file.

Along with the values below, all values available within the values.yaml can be included by converting them to UPPERCASE and prefixing with DASHBOARD_, for example to set the keystore properties in values.yaml you would define keystorePath where the equivalent environment variable would then be DASHBOARD_KEYSTORE_PATH. See Section A.3, “The values.yaml file” for a full list.

Table A.1. Environment Variables

OptionDescription
DASHBOARD_ENVEnvironment definition (e.g. for different config files selection)
DASHBOARD_SECRET32 bytes long string that will be used to encrypt cluster credentials

An example can be seen below:

DASHBOARD_ENV=production
DASHBOARD_BASE_URL=example.com
DASHBOARD_PORT=4090
DASHBOARD_PATH=
DASHBOARD_SSL=false
DASHBOARD_SECRET=e5I0vP+MFThNPBLbCcwf4xXrAWdf3mzK
DASHBOARD_DEFAULT_USER=admin
DASHBOARD_DEFAULT_USER_PASSWORD=admin