Environment Variables
Common
| Variable | Type | Default | Usage |
|---|---|---|---|
| QALITA_HOME | string (path) | ~/.qalita | Worker data directory (.worker, .env-*, sources-conf.yaml, jobs/, logs). Honored by CLI ≥ 2.18.2. In Docker it is a path inside the container (default /home/qalita/.qalita) — never the host path of your volume. |
| REQUESTS_CA_BUNDLE | string (path) | none | PEM bundle (root + intermediates) used to validate the platform's HTTPS certificate for REST requests. Required with a private PKI — requests does not read the OS trust store. |
| GRPC_DEFAULT_SSL_ROOTS_FILE_PATH | string (path) | none | Same PEM bundle, for the gRPC channel. Required with a private PKI — gRPC ships its own roots and ignores the OS trust store. |
| SKIP_SSL_VERIFY | boolean | false | Bypass certificate validation for REST requests only (never gRPC). Diagnostic use only — with a private PKI, prefer the two CA variables above. |
Pack
| Variable | Type | Default | Usage |
|---|---|---|---|
| QALITA_PACK_NAME | string | none | Name of the pack to execute/push |
Source
| Variable | Type | Default | Usage |
|---|---|---|---|
| QALITA_SKIP_VALIDATE | boolean | false | Skip source validation before publishing |
| QALITA_SECRETS_DIR | string (path) | /run/secrets | Directory read by ${secret:NAME} references in source configurations, for Docker or Kubernetes secrets. See Source secrets. |
Worker
| Variable | Type | Default | Usage |
|---|---|---|---|
| QALITA_WORKER_NAME | string | none | Worker name (required) |
| QALITA_WORKER_MODE | string (job/worker) | none | Worker execution mode (required) |
| QALITA_WORKER_ENDPOINT | string (URL) | none | Platform backend API URL (required) |
| QALITA_WORKER_TOKEN | string | none | API token provided by the platform (required), from the API Token section of your Profile page. Since platform 3.2.2 a worker is refused once its token expires or is revoked (token regenerated, password changed or reset, role or habilitations changed, user removed from the team): set a new token and run qalita worker login again. See Token revocation. |
| QALITA_WORKER_GRPC | boolean | true | Use gRPC for real-time job dispatch in worker mode. Set to false to fall back to REST polling. |
| QALITA_GRPC_ENDPOINT | string (host:port or URL) | auto-derived | Explicit gRPC endpoint override, e.g. qalita-backend-service:50051 or grpcs://grpc.example.com:443. By default the gRPC target is derived from QALITA_WORKER_ENDPOINT. Required for Kubernetes intra-cluster setups where the gRPC port (50051) is exposed on the same Service as the REST API. See gRPC endpoint resolution. |
| QALITA_PACK_WAIT_SECONDS | number (seconds) | 180 | How long a job waits for a pack that is not available yet before it fails: no version published yet (a routine created right after qalita pack push), the platform or its object storage briefly unreachable, or a damaged download. The worker retries with a growing delay (2 s up to 15 s) and writes each retry to the task logs. A pack the platform does not know, or a refused download, fails at once. 0 makes a single attempt. Applies to the gRPC worker (the default) in worker mode only: ignored in job mode and with QALITA_WORKER_GRPC=false. Honored by QALITA CLI 3.2.0 or later. |
Studio preview and data tools
| Variable | Type | Default | Usage |
|---|---|---|---|
| QALITA_PREVIEW_STATEMENT_TIMEOUT | number (seconds) | 45 | PostgreSQL only. Statement timeout of Studio previews on database sources: a query on a large table is cancelled with an explicit message before the platform stops waiting (60 s). The worker only lowers the timeout: a stricter statement_timeout set on the database user or the database stays in force. 0 disables it; keep it under 60. |
| QALITA_DATA_TOOLS_STATEMENT_TIMEOUT | number (seconds) | 110 | PostgreSQL only. Same, for the statements of the Studio agent's data tools, which the platform waits 120 s for. 0 disables it; keep it under 120. |
| QALITA_PREVIEW_COUNT_MAX_ROWS | number | 1000000 | PostgreSQL only. Above this planner estimate, the exact row count is skipped (and it is cancelled after 5 s otherwise) for a table preview that returns as many rows as requested, and for the row count of the agent's describe_source; the total is then left empty. count_rows always counts exactly. |
| QALITA_PREVIEW_COUNT_MAX_BYTES | number (bytes) | 1073741824 | File sources. The row count that needs a full pass over the file (CSV, NDJSON) is skipped above this size and the total is left empty. Parquet counts come from the file footer whatever the size. |
Jobs
| Variable | Type | Default | Usage |
|---|---|---|---|
| QALITA_WORKER_JOB_SOURCE | number (ID) | none | Source ID for a job |
| QALITA_WORKER_JOB_SOURCE_VERSION | number (ID) | latest | Source version to use |
| QALITA_WORKER_JOB_PACK | number (ID) | none | Pack ID for a job |
| QALITA_WORKER_JOB_PACK_VERSION | number (ID) | latest | Pack version to use |
UI
| Variable | Type | Default | Usage |
|---|---|---|---|
| QALITA_WORKER_UI | boolean | false | Enable local web UI for the CLI |
| QALITA_WORKER_UI_PORT | number | 7070 | Local UI port |
| QALITA_WORKER_UI_HOST | string (host) | localhost | Local UI listening interface |
Worker Polling
| Variable | Type | Default | Usage |
|---|---|---|---|
| WORKER_POLLING_INTERVAL | number (seconds) | 1 | Job polling interval in worker mode |