# Docker deployment configuration (copy to .env) # docker-compose.yml builds the image locally. docker-compose.ghcr.yml pulls the # released GHCR image; pin it with ARTEX_IMAGE_TAG (latest or a vX.Y.Z tag). # Address the web UI is published on. 127.0.0.1 keeps it host-local; set 0.0.0.0 # to reach it from another machine or from Windows when ARTEX runs inside WSL. ARTEX_BIND_ADDR=127.0.0.1 # Reverse proxies (comma-separated CIDRs) whose X-Forwarded-For the login rate # limit trusts. Empty: the header is ignored. See "Reverse proxy deployment" in README.md. ARTEX_TRUSTED_PROXIES= # Optional key for the secrets encrypted in the database (32 bytes, base64 or hex, # e.g. `openssl rand -base64 32`). Empty: keys/secret.key, generated at first start. # Set it when ./keys is not persistent. Losing the key loses the stored secrets. # ARTEX_SECRET_KEY= POSTGRES_USER=artex # The server percent-encodes this into the connection URL, so / ? % @ : and # spaces are safe. Quote a value that contains #, and write $$ for a literal $, # because Compose reads this file that way. POSTGRES_PASSWORD=change-me-please POSTGRES_DB=artex # Shared secret between the panel and artex-runner for the internal execution # API. install.sh and update.sh generate it when empty. For a manual # `cp .env.example .env`, generate one with: openssl rand -hex 32. Keep it private. ARTEX_RUNNER_TOKEN= # Agent execution isolation: required (default, one worker per task) or off # (explicit degraded mode, loud warning). docker-compose.yml includes the runner. # ARTEX_SANDBOX=required # Prebuilt GHCR image tag for docker-compose.ghcr.yml. Unset uses latest. # ARTEX_IMAGE_TAG=latest # Build identity shown in the UI and the startup banner. update.sh refreshes both # from git before a rebuild; a manual `docker compose build` without them reports # "dev". ARTEX_REVISION is the full commit, ARTEX_VERSION the describe tag/hash. # ARTEX_VERSION= # ARTEX_REVISION= # LLM (fill one or both; you can also leave empty and configure in the UI) ANTHROPIC_API_KEY= OPENAI_API_KEY= ARTEX_LLM_PROVIDER= ARTEX_LLM_MODEL= ARTEX_LLM_BASE_URL= ARTEX_LLM_PROXY= # Allow the UI model list and the connection test to reach a local model server, # e.g. host.docker.internal:11434 ARTEX_LLM_PRIVATE_ENDPOINTS= # Ghidra static-analysis sidecar (optional, see docs/ghidra.md). Unset = the # ghidra_* tools report "not configured" and nothing else changes. The # docker-compose.ghidra.yml overlay starts the sidecar and defaults this to # http://ghidra:9090. The API key is only needed behind an authenticating proxy. # ARTEX_GHIDRA_URL= # ARTEX_GHIDRA_API_KEY= # Untrusted-output boundary. Frames every tool output between nonce-tagged markers so # the model treats it as data, not instructions. On by default (unset or empty = on); # set ARTEX_UNTRUSTED_BOUNDARY=0 (or false/off/no) to disable it. Measured cost: about # 154 bytes per tool result plus one system note. # ARTEX_UNTRUSTED_BOUNDARY=0 # Noise profile of the requests ARTEX sends to targets (WebFetch, http custom tools, enrich # probe). Default off: no limit, requests unchanged. quiet = 2 req/s per host, burst 4, # 1 in flight; balanced = 5 req/s, burst 10, 2 in flight; aggressive = 20 req/s, burst 40, # 4 in flight. A profile also adds jitter, backs off on 429/503 and merges identical GETs # of one task per tool (short cache; WebFetch is paced only). Bash-launched tools are not throttled. # ARTEX_NOISE_PROFILE=balanced # User-Agent set on target requests that have none, only under a profile. Empty = unchanged. # ARTEX_TARGET_USER_AGENT= # DNS enrichment resolvers (optional). Async enrichment resolves target domains directly, not # through the recording proxy, so DNS is its own egress boundary. Unset = the deployment's # resolvers from /etc/resolv.conf. off = disable DNS enrichment (fail closed). A comma-separated # list (IP, IP:port or host:port) sends queries only to those resolvers. # ARTEX_DNS_RESOLVERS= # Pinned DNS servers for the task containers (optional). The egress proxy is the only # container that resolves target names; this overrides Docker's embedded resolver for it. # Comma- or space-separated IPs. Unset keeps Docker's default. # ARTEX_TASK_DNS= # Run budgets (optional). Unset or 0 = unlimited, nothing changes. TASK_* caps a whole task # (planner rounds and all its workers); INTENT_* caps one worker run. Kept in memory: a # restart, or a revive of a finished task, starts a fresh budget. # Below 50000 tokens a task gets no worker at all (one worker costs about 50000 tokens by # default); from 50000 to about 70000 it typically gets one worker, then the forced wrap-up. Use a # budget well above 70000 for real exploration. # ARTEX_TASK_BUDGET_TOKENS= # ARTEX_TASK_BUDGET_TURNS= # ARTEX_INTENT_BUDGET_TOKENS= # ARTEX_INTENT_BUDGET_TURNS= # Update banner (optional). ARTEX_UPDATE_CHECK=1 lets the backend check the public GitHub # releases API for a newer ARTEX release at most once per 24 h and show a dismissible banner. # Off by default: unset, no update request is made. # ARTEX_UPDATE_CHECK=1 # Docker API socket the runner mounts (optional). Only the host side is configurable; # inside the runner the socket is always /var/run/docker.sock. install.sh and update.sh # detect a rootless Podman socket and write it here. Leave unset for Docker Engine. # ARTEX_DOCKER_SOCK=/run/user/1000/podman/podman.sock