Skip to main content

Environment Variables

Common​

VariableTypeDefaultUsage
QALITA_HOMEstring (path)~/.qalitaWorker 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_BUNDLEstring (path)nonePEM 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_PATHstring (path)noneSame PEM bundle, for the gRPC channel. Required with a private PKI — gRPC ships its own roots and ignores the OS trust store.
SKIP_SSL_VERIFYbooleanfalseBypass certificate validation for REST requests only (never gRPC). Diagnostic use only — with a private PKI, prefer the two CA variables above.

Pack​

VariableTypeDefaultUsage
QALITA_PACK_NAMEstringnoneName of the pack to execute/push

Source​

VariableTypeDefaultUsage
QALITA_SKIP_VALIDATEbooleanfalseSkip source validation before publishing
QALITA_SECRETS_DIRstring (path)/run/secretsDirectory read by ${secret:NAME} references in source configurations, for Docker or Kubernetes secrets. See Source secrets.

Worker​

VariableTypeDefaultUsage
QALITA_WORKER_NAMEstringnoneWorker name (required)
QALITA_WORKER_MODEstring (job/worker)noneWorker execution mode (required)
QALITA_WORKER_ENDPOINTstring (URL)nonePlatform backend API URL (required)
QALITA_WORKER_TOKENstringnoneAPI 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_GRPCbooleantrueUse gRPC for real-time job dispatch in worker mode. Set to false to fall back to REST polling.
QALITA_GRPC_ENDPOINTstring (host:port or URL)auto-derivedExplicit 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_SECONDSnumber (seconds)180How 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​

VariableTypeDefaultUsage
QALITA_PREVIEW_STATEMENT_TIMEOUTnumber (seconds)45PostgreSQL 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_TIMEOUTnumber (seconds)110PostgreSQL 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_ROWSnumber1000000PostgreSQL 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_BYTESnumber (bytes)1073741824File 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​

VariableTypeDefaultUsage
QALITA_WORKER_JOB_SOURCEnumber (ID)noneSource ID for a job
QALITA_WORKER_JOB_SOURCE_VERSIONnumber (ID)latestSource version to use
QALITA_WORKER_JOB_PACKnumber (ID)nonePack ID for a job
QALITA_WORKER_JOB_PACK_VERSIONnumber (ID)latestPack version to use

UI​

VariableTypeDefaultUsage
QALITA_WORKER_UIbooleanfalseEnable local web UI for the CLI
QALITA_WORKER_UI_PORTnumber7070Local UI port
QALITA_WORKER_UI_HOSTstring (host)localhostLocal UI listening interface

Worker Polling​

VariableTypeDefaultUsage
WORKER_POLLING_INTERVALnumber (seconds)1Job polling interval in worker mode