mirror of
https://github.com/BaaRai/ARTEX.git
synced 2026-11-24 09:00:54 +08:00
Adds docker-compose.ghcr.yml (same ARTEX + PostgreSQL stack from the released image, ARTEX_IMAGE_TAG, built-in skills), switches the docker run example to the component ARTEX_PG_* variables, documents pull-and-up updates without a checkout, and attaches provenance and SBOM attestations to the image build.
63 lines
3.3 KiB
Bash
63 lines
3.3 KiB
Bash
# 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
|
|
# Prebuilt GHCR image tag for docker-compose.ghcr.yml. Unset uses latest.
|
|
# ARTEX_IMAGE_TAG=latest
|
|
|
|
# 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 to reach a local Ollama, e.g. host.docker.internal:11434
|
|
ARTEX_LLM_PRIVATE_ENDPOINTS=
|
|
|
|
# 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=
|
|
|
|
# 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
|