Governor and Worker Settings
Environment variables that set up Governor and its workers. Most deployments only need the required production settings and, if you use them, the feature flags. The defaults of the others suit typical use.
Set Governor’s variables on its API container: the backend service in Docker Compose, or api.container.config in Helm (api.container.secretConfig for secrets). Restart the container after a change. You can also set them as application properties.
Required in production
The Docker Compose and Helm installations explain how to generate and set these.
| Variable | What it sets |
|---|---|
|
The PostgreSQL database that holds Governor’s own data: users, projects, data sources and workflows. |
|
The key that signs sign-in tokens. |
|
The first administrator account. |
|
A Base64-encoded 256-bit key that encrypts stored data source passwords. Set your own key in every production deployment. To rotate it, list the new key first and the old one after it, separated by |
|
Your Synthesized license key. Without one, Governor runs in free mode. |
Feature flags
These flags turn on features that are off by default. Set them to "true" on Governor’s API container, then restart it. Setting them on the frontend or worker containers has no effect.
| Flag | Turns on |
|---|---|
|
XML as a data source type in the web UI. See XML Generator. |
|
Cross-system referential integrity: its screens in the web UI and its API endpoints, which return |
|
The SAP workflow wizard. See SAP Workflow Wizard. |
In Docker Compose, the docker-compose.yml that ships with the platform already passes UI_CSRI to the backend service, so you can set it in .env.
Security and sign-in
| Variable | Default | What it sets |
|---|---|---|
|
|
How long a user stays signed in without using Governor, for example |
|
|
How long a sign-in lasts at most, however active the user is. No shorter than |
|
|
How long an access token lasts, in milliseconds. Governor renews it while the session lasts. |
|
None |
Deprecated. Set |
|
|
The issuer recorded in tokens. |
|
|
The role a new user gets: |
|
|
When |
|
|
The origins allowed to call the API from a browser (CORS), separated by commas, such as |
|
|
How long security secrets last, in seconds. |
|
|
The clock difference allowed in time-based security checks, in seconds. |
|
|
With a single identity provider, sends users straight to its sign-on. See Auto-redirect to single sign-on. |
SAML
| Variable | Default | What it sets |
|---|---|---|
|
|
Assigns roles from the user’s groups in the identity provider. |
|
|
The SAML attribute that lists the user’s groups. |
|
|
Converts group names to upper case before they’re matched to role aliases. |
|
|
The role a user gets when no group matches: |
|
|
Single Logout: signing out of Governor also signs the user out of the identity provider. |
|
none |
The identity provider registration used for logout, such as |
For the full SAML setup, including role aliases, see Single Sign-On (SSO).
Workers
Settings for the connection between Governor and its workers.
| Variable | Default | What it sets |
|---|---|---|
|
|
The gRPC port that workers connect to. |
|
|
The largest gRPC message, in bytes. Raise it for very large workflow configurations. |
|
|
Compresses gRPC messages. |
|
|
How many minutes a worker counts as alive without a heartbeat. |
|
not set |
The delay between checks for new tasks, in milliseconds. |
A worker container has its own settings: the Governor host and port it connects to (WORKER_SERVERHOST, WORKER_SERVERPORT), its tags and groups (WORKER_TAGS, WORKER_DATASOURCES), plaintext or TLS (WORKER_USEPLAINTEXT) and its working directory (WORKER_WORKING_DIRECTORY_PATH). See Synthesized Workers. For mutual TLS (WORKER_GRPC_TLS_*), see Worker–Governor mTLS.
AGENT_* variables, the names from older releases, still work: they’re mapped to WORKER_* at startup. If both are set, WORKER_* wins.
Workflow execution
| Variable | Default | What it sets |
|---|---|---|
|
|
Threads available to run workflows. |
|
|
How long the workflow runner waits to terminate, in milliseconds. |
|
|
The default maximum size of each data source’s connection pool. |
|
|
The size of the system connection pool. |
|
|
The most connection pools kept in the cache. |
|
|
How long a cached connection pool lasts without use, in seconds. |
|
|
The directory for run log files. |
|
|
The prefix of run log file names. |
|
|
The extension of run log files. |
Scheduled tasks
Governor runs housekeeping tasks in the background.
| Variable | Default | What it sets |
|---|---|---|
|
|
The delay before the first check for runs that are terminating. |
|
|
The interval between those checks. |
|
|
How often cached database connections are cleaned up. |
|
|
How often expired temporary databases, created during runs, are removed. |
Governor database connection pool
The pool of connections to Governor’s own database (HikariCP).
| Variable | Default | What it sets |
|---|---|---|
|
|
The most connections in the pool. |
|
|
The fewest idle connections kept. |
|
|
How long to wait for a connection from the pool, in milliseconds. |
|
|
How long a connection can stay idle, in milliseconds. |
|
|
The longest a connection lives, in milliseconds. |
|
|
How often idle connections are checked, in milliseconds. |
|
|
The default schema. |
Monitoring
| Variable | Default | What it sets |
|---|---|---|
|
|
The management endpoints exposed, separated by commas. |
|
|
Includes the LDAP connection in the health check. |
|
empty (off) |
The Sentry project that errors are reported to. |
|
|
The share of traces sent to Sentry, from |
|
|
Connection timeout of Governor’s HTTP clients for external services, in seconds. |
|
|
Read timeout of those HTTP clients, in seconds. |
Internal settings
Change these only if Synthesized support asks you to.
| Variable | Default | What it sets |
|---|---|---|
|
|
Runs Governor’s database migrations at startup. |
|
|
The migration changelog. |
|
|
Liquibase analytics. |
|
|
Spring bean definition overriding. |
|
|
Whether the startup banner is printed: |
See also
-
Settings and Environment Variables: every setting in one list.
-
Application Properties: secret managers, the working directory and cloud licensing.