Environment Variables¶
Genvid Technologies used many environment variables to configure itself. Here are the documented ones.
-
GENVID_TOOLBOX_VERSION
¶ The version of the installed toolbox.
-
GVENCODE_FONT_DIR
¶ The directory where gvencode can find its fonts.
-
GENVID_LOGGER_PREFIX
¶ The prefix used by the SDK logger.
-
GENVID_TOOLBOX_LOGLEVEL
¶ The default logging level of the scripts.
-
GENVID_DEFAULT_IP
¶ Override the default IP of 127.0.0.1 for binding the services locally. You need to reinstall the bastion entirely after changing this variable.
-
GENVID_STARTUP_TIMEOUT
¶ The timeout to launch the supervisor services. Use by genvid-bastion.
-
GENVID_SERVICES_DATADIR
¶ This variable is used to indicate the location of the data directory for the Bastion supervision services.
-
GENVID_STATIC_BINDING
¶ This variable are used inside the local nomad templates (under
bastion-services/templates
) to allocate a fixed port for each service. Not set, the service will used a port allocated dynamically by nomad.
-
GENVID_VAULT_POLICIES_FOLDER
¶ The folder where vault can find its policies. See
genvid.toolbox.VaultTool.vault_load_policies()
.
-
GENVID_VAULT_TOKEN_ROLES_FOLDER
¶ The folder where vault can find its roles.
genvid.toolbox.VaultTool.vault_load_token_roles()
.
-
UTROOT
¶ The clone repository of UnrealTournament. See Unreal Tournament Integration for more information.
-
HOME
¶ A variable to the user home directory. Usually point to
USERPROFILE
on Windows.
-
PYTHON_EXECUTABLE
¶ A variable pointing to the current Python executable in the Toolbox.
-
VAULT_ADDR
¶ The address to the vault service.
-
VAULT_KEYS
¶ The vault keys use to unseal the vault.
-
VAULT_TOKEN
¶ The vault token use to connect to vault.
-
PROJECTDIR
¶ This variable is now deprecated. It was set by
ProjectTool
to the directory of the loaded project file.
-
ROOTDIR
¶ Use by the toolbox, this variable point to the install directory of the SDK. It is likely to be deprecated in the near future.
-
CURDIR
¶ A variable used by the script to communicate their current location. It is likely to be deprecated in the near future.
-
BINDIR
¶ A variable pointing to the binaries directory (named
bin
) underROOTDIR
. It is likely to be deprecated in the near future.
-
DOCKER_MACHINE_NAME
¶ The docker host machine name. If set, allow the
genvid.toolbox.DockerTool
to connect to the Docker host using docker-machine.