Each key is the variable name without the TAPPET_ prefix, in lower case. Variables that
share a prefix can also be grouped in a table, so [s3] bucket = "x" is the same as
s3_bucket = "x" and TAPPET_S3_BUCKET=x. Lists can be TOML arrays or comma-separated
strings. Unknown keys are rejected so that typos fail at startup instead of being ignored.
Keep secrets (encryption_key, s3_secret_access_key, oidc_client_secret) in the
environment or in a file only the service user can read.
Unknown TAPPET_* environment variables produce a warning at startup.
Values from tappet.toml and derived defaults (TAPPET_DATA, TAPPET_DATABASE_URL,
TAPPET_BLOBS_URL) are exported into the process environment at startup, so every
component sees the same settings regardless of where they were set.
Path of the tappet.toml to load. Environment only.
TAPPET_ENV
development
development or production. Production refuses to start without TAPPET_ENCRYPTION_KEY.
TAPPET_DATA
~/.tappet, or /var/lib/tappet when HOME is unset or /
Data directory: SQLite database, blob spill store, development encryption key. A leading ~/ is expanded.
TAPPET_DATABASE_URL
sqlite://${TAPPET_DATA}/tappet.db
sqlite://path (single node) or postgres://user:pass@host/db (required for serve --role api + worker deployments).
TAPPET_BLOBS_URL
s3:// URL when TAPPET_S3_BUCKET is set, else file://${TAPPET_DATA}/blobs
Binary data and large-payload spill store.
TAPPET_HOST
127.0.0.1
Listen address. Use 0.0.0.0 in containers. localhost is accepted.
TAPPET_PORT
5678
Listen port.
TAPPET_PUBLIC_URL
unset
Externally reachable base URL (https://flows.example.com). Required for OAuth2 callbacks ({url}/api/v1/oauth2/callback) and production webhook URLs; startup warns when unset. serve --tunnel cloudflared sets it for the session.
TAPPET_INSTANCE_ID
<hostname>-<random>
Identity of this process for queue leases and leader election. Must be unique per process.
TAPPET_DEFAULT_PROJECT
owner’s first project, else default
Project id or name used by CLI commands run without --project.
Key-encryption key for credentials: base64 of exactly 32 random bytes (tappet keys generate). In development mode, when unset, a key is generated once into ${TAPPET_DATA}/encryption.key with mode 0600 and reused. Never logged.
TAPPET_ENCRYPTION_KEY_VERSION
1 (or the version recorded by tappet keys rotate in development)
Version number stored with every wrapped credential key; bump it when you rotate.
Rotation: generate a new key, export it as TAPPET_NEW_ENCRYPTION_KEY, run
tappet keys rotate, then set TAPPET_ENCRYPTION_KEY to the new key and
TAPPET_ENCRYPTION_KEY_VERSION to the new version and restart every process. In development
mode (key file) tappet keys rotate generates the new key itself, replaces
encryption.key, writes encryption.key.version, and keeps the previous key as
encryption.key.v<old version>.
Outbound network policy for every node, connector, OAuth token call and protocol connection. local blocks cloud metadata and unspecified addresses only; strict also blocks loopback, private, CGNAT, unique-local and link-local ranges. Multi-tenant mode rejects local.
TAPPET_EGRESS_ALLOW
empty
Hosts, IPs or CIDRs always allowed (overrides blocks, including metadata addresses listed explicitly). *.example.com matches subdomains.
TAPPET_EGRESS_DENY
empty
Extra hosts, IPs or CIDRs to block.
TAPPET_ALLOW_EXEC
false
Enables exec-class nodes (Execute Command, SSH, local files, MCP stdio). Ignored in multi-tenant mode.
TAPPET_MULTI_TENANT
false
Multi-tenant mode: forces the strict egress policy, disables exec-class nodes and $env by default.
TAPPET_EXPR_ALLOW_ENV
true; false in multi-tenant mode
Expose process environment variables to expressions as $env. TAPPET_* variables are never exposed.
TAPPET_EXPR_ENV_ALLOWLIST
empty (all non-TAPPET_* variables)
Limit $env to these names; an entry ending in * matches a prefix (API_*).
TAPPET_SECURE_COOKIES
derived from TAPPET_PUBLIC_URL (https means secure)
Force the Secure attribute on session cookies on or off.
TAPPET_SESSION_TTL
7d (bare number: hours)
Lifetime of a login session.
TAPPET_CORS_ORIGINS
empty (no cross-origin access)
Origins allowed to call the REST API from a browser.
Executions older than this are pruned. Rounded up to whole days.
TAPPET_EXECUTIONS_MAX_COUNT
unset (no cap)
Keep at most this many executions.
TAPPET_WORKER_CONCURRENCY
64
Executions one process runs at a time (serve --role all and worker; --concurrency overrides).
TAPPET_LEASE_TTL
60s (bare number: seconds)
Worker lease on a running execution; an execution whose lease expires is recovered by another worker. Minimum 5 s.
TAPPET_CHECKPOINT
every_node
every_node persists each finished node run before successors start (crash recovery resumes there); wait_only persists only at Wait nodes and the end (faster, less durable).
TAPPET_SYNC_WEBHOOK_TIMEOUT
300s (bare number: seconds)
How long lastNode/responseNode webhooks wait for the workflow.
TAPPET_TIMEZONE
UTC
Timezone for workflows that do not set one (IANA name, e.g. Europe/Berlin).
TAPPET_SHUTDOWN_TIMEOUT
30s (bare number: seconds)
Time allowed for running executions to finish or checkpoint after SIGINT/SIGTERM. A second signal exits immediately.
Setting TAPPET_S3_BUCKET switches the blob store to S3 (unless TAPPET_BLOBS_URL is set
explicitly). The other S3 variables are ignored, with a warning, when no bucket is set.
Variable
Default
Description
TAPPET_S3_BUCKET
unset
Bucket name.
TAPPET_S3_PREFIX
unset
Key prefix inside the bucket (leading and trailing slashes are removed).
TAPPET_S3_REGION
provider default
Region, e.g. eu-central-1.
TAPPET_S3_ENDPOINT
AWS
Endpoint URL for S3-compatible services (MinIO, R2, …).
TAPPET_S3_ACCESS_KEY_ID
ambient credentials
Access key id.
TAPPET_S3_SECRET_ACCESS_KEY
ambient credentials
Secret access key. Never logged.
TAPPET_S3_FORCE_PATH_STYLE
false
Use path-style URLs (needed by most self-hosted S3 services).
OIDC login is enabled when TAPPET_OIDC_ISSUER is set. Register
{TAPPET_PUBLIC_URL}/api/v1/auth/oidc/callback as the redirect URI with your identity provider.
Variable
Default
Description
TAPPET_OIDC_ISSUER
unset
Issuer URL (discovery document at {issuer}/.well-known/openid-configuration).
TAPPET_OIDC_CLIENT_ID
required with an issuer
Client id registered with the provider.
TAPPET_OIDC_CLIENT_SECRET
unset (public client)
Client secret. Never logged.
TAPPET_OIDC_SCOPES
openid,email,profile
Requested scopes; openid is always included.
TAPPET_OIDC_ROLE_CLAIM
unset
Claim holding group or role names (e.g. groups).
TAPPET_OIDC_ROLE_MAP
unset
Claim value to instance role, ops=admin,staff=member. Roles: owner, admin, member.
The command ran but failed: a workflow execution that did not succeed (error, canceled, or left waiting), a failing credential test, lint errors, or a runtime/infrastructure error.
2
Usage or input error: invalid arguments, unreadable or invalid JSON, an n8n export that cannot be imported, invalid configuration, an unknown workflow/credential/project id.