Skip to main content

Environment variables

Environment variables for configuration​

As a Spring Boot application, Zeebe supports any standard Spring configuration method. This configuration can be provided as a configuration file, through environment variables, or both. When both sources are used, environment variables have precedence over 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.
note

It is not recommended to use these settings in production.