Configuration

Environment variables and the System page.

Zerodot reads its settings from environment variables. This page lists them, and describes the System page, the update notice, and the feedback widget.

The installer writes a .env file for you. See Install on a server. Use zerodot config to check and change .env (see zerodot CLI). The file .env.example in the app repository lists all variables.

Core

Name Default What it does
DATABASE_URL postgres://zerodot:zerodot@localhost:5432/zerodot Postgres connection URL.
VALKEY_URL redis://localhost:6379 Valkey connection URL.
ZERODOT_SECRET_KEY none 32 random bytes in base64. Encrypts credentials. Make one with openssl rand -base64 32. If you lose it, saved credentials cannot be opened.
BETTER_AUTH_SECRET none Secret for sign-in sessions.
ZERODOT_BASE_URL http://localhost:3000 The public URL of Zerodot.
ZERODOT_TRUSTED_ORIGINS empty More origins that can sign in, comma-separated. ZERODOT_BASE_URL is always allowed.
ZERODOT_TRUST_PROXY false Set to true only behind a proxy that sets X-Forwarded-For. The IP allowlist option of the Webhook node needs it.
ZERODOT_BIND_HOST 0.0.0.0 Address that the API, worker, and sandbox listen on. Use 127.0.0.1 without Docker.
ZERODOT_DB_PASSWORD empty Docker Compose only. The database password. The installer sets a random one. If empty, the password is zerodot.
ZERODOT_VALKEY_PASSWORD empty Docker Compose only. The Valkey password. If empty, Valkey has no password.

For the database, see Databases.

Sign-up and admin

Name Default What it does
ZERODOT_SIGNUP_DISABLED false Set to true so that only invited people and the emails in ZERODOT_ADMIN_EMAILS can create an account.
ZERODOT_ADMIN_UI true Set to false to turn off the System page. All admin calls then answer 404.
ZERODOT_ADMIN_EMAILS empty Emails of instance admins, comma-separated. These emails can sign up when signup is off, so a server can start with signup off. If empty, the first user who signed up is the admin.
ZERODOT_BOOTSTRAP_API_KEY empty For scripted setup. An admin API key that you choose. Make one with echo zerodot_$(openssl rand -hex 24). Sign up first. The first API call with this key saves it.
ZERODOT_BOOTSTRAP_PROJECT empty The project slug that gets the bootstrap key. If empty, the oldest project gets it.
ZERODOT_UPDATE_CHECK true Set to false to turn off the update check.
ZERODOT_FEEDBACK_WIDGET true Set to false to turn off the feedback widget.

Runs and limits

Name Default What it does
ZERODOT_MAX_NODE_RUNS 1000 Most node runs in one workflow run. A loop that does not end stops here.
ZERODOT_TABLE_MAX_ROWS 100000 Most rows in one data table.
ZERODOT_RUN_RETENTION_DAYS 30 Finished production runs older than this are deleted each day. A project can set its own days.
ZERODOT_TEST_RUN_RETENTION_DAYS 7 Test runs older than this are deleted each day.
ZERODOT_STATS_RETENTION_DAYS 365 Insight rollups older than this are deleted each day.
ZERODOT_SAVE_SUCCESS_NODE_DATA true Set to false so production runs do not keep the input and output of nodes that succeeded.
ZERODOT_INLINE_OUTPUT_BYTES 262144 A node input or output above this size (bytes) is stored as a blob. Files always are.

Webhooks and API

Name Default What it does
ZERODOT_WEBHOOK_RATE_LIMIT_PER_MINUTE 6000 Calls each webhook token can take in one minute. Over it, the answer is 429. 0 turns the limit off.
ZERODOT_API_RATE_LIMIT_PER_MINUTE 600 Calls each API key can make in one minute.
ZERODOT_MAX_HELD_WEBHOOKS 500 Most requests one API process holds open for a run. Over it, the answer is 503.
ZERODOT_WEBHOOK_CACHE_MS 5000 A webhook lookup stays in the process this many ms. A deactivated webhook can answer this long. 0 turns the cache off.

See Webhooks and API.

Node packages and risky nodes

Name Default What it does
ZERODOT_NODE_PACKAGES empty Node packages to install and load at start, comma-separated.
ZERODOT_NODES_DIR ./.zerodot/nodes Folder for packages. Keep it on a volume. The Docker image uses /nodes.
ZERODOT_NODES_INSTALL true Set to false to turn off install and remove in the app.
ZERODOT_NPM_REGISTRY https://registry.npmjs.org The npm registry that packages come from.
ZERODOT_NODE_CATALOG_URL the catalog.json of the nodes repository Where the app reads the list of packages.
ZERODOT_COMMUNITY_NODES false Set to true to allow community registries and packages.
ZERODOT_COMMUNITY_NODES_ALLOW_HOSTS empty Hosts inside your network that community packages can reach, comma-separated.
ZERODOT_COMMUNITY_NODES_AS_TOOLS false Set to true to let an AI Agent use community nodes as tools.
ZERODOT_UNVERIFIED_NODES true Set to false to install only community packages that the Zerodot team reviewed.
ZERODOT_VERIFIED_NODES_URL the verified.json of the nodes repository Where Zerodot reads the list of verified packages.
ZERODOT_ENABLE_EXECUTE_COMMAND false Set to true to turn on the Execute Command node. It runs shell commands on the worker. Anyone who can edit a workflow can use it.
ZERODOT_FILES_DIR empty The only folder that Read/Write Files from Disk can reach on the worker. If empty, the node is off.

See Install node packages.

Blob storage

Blob storage keeps large and binary node data. It is off when neither ZERODOT_BLOB_DIR nor ZERODOT_BLOB_S3_BUCKET is set. Web, API, and worker must use the same store.

Name Default What it does
ZERODOT_BLOB_DIR empty A folder on disk. It must be a shared volume.
ZERODOT_BLOB_S3_BUCKET empty S3 or an S3-compatible bucket. It wins over ZERODOT_BLOB_DIR. It needs the two keys below.
ZERODOT_BLOB_S3_ENDPOINT empty The S3 endpoint.
ZERODOT_BLOB_S3_REGION empty The S3 region.
ZERODOT_BLOB_S3_ACCESS_KEY_ID empty The S3 access key ID.
ZERODOT_BLOB_S3_SECRET_ACCESS_KEY empty The S3 secret access key.
ZERODOT_BLOB_S3_PREFIX empty A key prefix.
ZERODOT_BLOB_S3_FORCE_PATH_STYLE empty Path-style S3 addresses.

Scaling

These variables set workers, the sandbox, and Valkey. See Scaling and Operations for how to use them.

Name Default What it does
ZERODOT_WORKER_CONCURRENCY 20 Runs that one worker runs at once.
WORKER_REPLICAS 1 Docker Compose only. Number of worker containers.
ZERODOT_SYSTEM_CONCURRENCY 5 Jobs of the system queue (cron, poll, retention, sweep) that run at once.
ZERODOT_ORG_MAX_CONCURRENT_RUNS 0 Most runs of one project that run at once. 0 means no cap.
ZERODOT_WORKFLOW_MAX_CONCURRENT_RUNS 0 Most runs of one workflow that run at once. 0 means no cap.
ZERODOT_MAX_LISTEN_TRIGGERS 100 Most listen triggers (for example IMAP) that one worker keeps open.
ZERODOT_DB_MAX_CONNECTIONS 200 Docker Compose only. Postgres max_connections. Each worker uses about ZERODOT_WORKER_CONCURRENCY + 10.
SANDBOX_URL http://localhost:3002 The sandbox URL. Use one URL, or several separated by commas. Docker Compose sets its own value.
SANDBOX_REPLICAS 1 Docker Compose only. Number of sandbox containers.
SANDBOX_MAX_WAIT_MS 250 How long a code run waits for a free slot, in ms, before the sandbox answers busy.
SANDBOX_MAX_QUEUE SANDBOX_MAX_CONCURRENCY Most code runs that wait for a slot.
SANDBOX_RETRY_AFTER_SECONDS 0 Retry-After of a busy answer, in seconds. With 0, the worker uses its own short backoff.
VALKEY_SENTINELS empty Sentinel mode. A list like host:port,host:port. VALKEY_URL is ignored.
VALKEY_SENTINEL_NAME mymaster The Sentinel master name.
VALKEY_CLUSTER false Set to true for Cluster mode. VALKEY_URL is the first node.
VALKEY_PASSWORD empty The password of the Valkey data nodes in Sentinel and Cluster mode.
ZERODOT_LOG_MAX_SIZE 10m Docker Compose only. Size limit of each container log file (json-file driver).
ZERODOT_LOG_MAX_FILES 3 Docker Compose only. How many rotated log files Docker keeps per container.

System page

The System page shows the whole server. Only the instance admin can open it. A project admin cannot.

Who is the instance admin:

  • A signed-in user whose email is in ZERODOT_ADMIN_EMAILS.
  • If that list is empty, the first user who signed up.

To turn the page off, set ZERODOT_ADMIN_UI=false.

The page has these sections:

Section What it shows
Overview Health, workers online, run slots in use, runs waiting, failed jobs, and the last hour: success rate, run time p50 and p95, and runs per minute.
Queues The runs queue and the system queue. You can pause and resume a queue.
Jobs Jobs by state. You can cancel a run, remove a job, and clean jobs by state and age.
Instance The version, the Public signup switch, AI provider keys, and Recent admin actions.
Auth The admin sign-in: Login, Password, and Passkeys.
Nodes Node packages. See Install node packages.

The Public signup switch turns sign-up on and off. When it is off, only invited people and the emails in ZERODOT_ADMIN_EMAILS can create an account. If ZERODOT_SIGNUP_DISABLED=true is set, the switch is locked off. Remove the variable to use the switch.

The AI provider keys on the Instance tab are encrypted default keys for the Build with AI chat in all projects. See Build with AI.

Each admin change writes a row to the audit log. The log holds ids and counts only. The page never shows job data or node data.

For account settings, language, and project settings, see Settings.

Update notice

The instance admin sees a small blinking orange dot in the bottom-right corner when a newer version exists. Other users see nothing.

  • Click the dot to see a message. Click View to read the release notes.
  • The web app asks the GitHub releases API at most once an hour. It ignores drafts and pre-releases.
  • The request has no cookie and no data about your instance. GitHub sees the IP address of the server.

To turn it off, set ZERODOT_UPDATE_CHECK=false in the web app. Zerodot then makes no call to GitHub.

Feedback widget

A signed-in user can send a feature request to the Zerodot board on FeedbackJar. The user clicks Send feedback in the Account menu.

The request includes the name and email of the user, the user role, the Zerodot version, and the system of the server. It includes no workflow data and no credentials.

To turn it off, set ZERODOT_FEEDBACK_WIDGET=false in the web app. The browser then loads nothing from FeedbackJar.

Scaling and operations

For more workers, more sandboxes, and Valkey high availability, see Scaling. For retention, queues, and the System page, see Operations.

Change this page on GitHub