Directory to store the Claworc’s data like SQLite database, SSH key pair, and etc. Mount a persistent volume here.
CLAWORC_DATABASE
(empty)
Database connection URL. Leave empty to use SQLite under CLAWORC_DATA_PATH. Set to a postgres://, mysql://, or mariadb:// URL to use an external database. See Database.
CLAWORC_BACKUPS_PATH
(empty)
Directory for backup archives. When empty, backups are written under <CLAWORC_DATA_PATH>/backups. Set this to place backups on a separate (for example, cheaper or slower) volume. The directory must exist and be writable.
CLAWORC_K8S_NAMESPACE
claworc
Kubernetes namespace where agent instances are created. Must exist before starting.
CLAWORC_DOCKER_HOST
(empty)
Docker socket or TCP address. Example: unix:///var/run/docker.sock. Leave empty to auto-detect orchestrator (Kubernetes takes priority).
Port the internal LLM gateway listens on. The gateway binds to 127.0.0.1 only and is never publicly accessible — instances reach it through an SSH tunnel. Change this if port 40001 conflicts with another service on the control plane host.
CLAWORC_LLM_RESPONSE_LOG
(empty)
Path to a file where raw upstream LLM response bodies are appended for debugging. Each entry includes a timestamp, model ID, API type, HTTP status, and the full response body. Leave empty (the default) to disable. Do not enable in production — response bodies may contain sensitive content.