😬 hyperglass 2.0 and its documentation is still in development!
Environment Variables

There are some configuration variables that must be supplied before hyperglass can start or read its configuration files. Most of the time, you should not need to modify these.

Environment variables may be overridden at the command line, or by placing them in ${HYPERGLASS_APP_PATH}/hyperglass.env.

Variable NameTypeDefaultDescription
HYPERGLASS_DEBUGbooleanfalseEnable debug logging
HYPERGLASS_DEV_MODEbooleanfalseEnable developer mode. This should only be used if you are developing hyperglass under specific circumstances.
HYPERGLASS_DISABLE_UIbooleanfalseIf set to true, the hyperglass UI is not built or served. The only way to access hyperglass is via REST API.
HYPERGLASS_APP_PATHstring/etc/hyperglassDirectory where hyperglass configuration files and static web UI files are contained.
HYPERGLASS_REDIS_HOSTstringlocalhostHost on which Redis is running.
HYPERGLASS_REDIS_PASSWORDstring—Redis password, if any.
HYPERGLASS_REDIS_DBnumber1Redis database number.
HYPERGLASS_REDIS_DSNstring—Redis DSN. If supplied, overrides HYPERGLASS_REDIS_HOST, HYPERGLASS_REDIS_DB, and HYPERGLASS_REDIS_PASSWORD.
HYPERGLASS_HOSTstring[::1]Address on which hyperglass listens for requests.
HYPERGLASS_PORTnumber8001TCP port on which hyperglass listens for requests.
HYPERGLASS_CA_CERTstring—Path to CA certificate file for validating HTTPS certificates. If not supplied, system CAs are used.