Skip to main content
Version: latest

Environment variables

Environment variables for configuration#

The configuration can be provided as a file or through environment variables. Mixing both sources is also possible. In that case, environment variables have precedence over the configuration settings in the configuration file.

All available environment variables are documented in the configuration file templates.

Environment variables for operators#

The following environment variables are intended for operators:

  • ZEEBE_LOG_LEVEL: Sets the log level of the Zeebe Logger (default: info).
  • ZEEBE_LOG_APPENDER: Sets the console log appender (default: Console). We recommend using Stackdriver if Zeebe runs on Google Cloud Platform to output JSON formatted log messages.

Environment variables for developers#

The following environment variables are intended for developers:

  • SPRING_PROFILES_ACTIVE=dev: If this is set, the broker starts in a temporary folder and all data is cleaned up upon exit.
  • ZEEBE_DEBUG=true/false: Activates a DebugLogExporter with default settings. The value of the environment variable toggles pretty printing.

It is not recommended to use these settings in production.