fix: .env.example: document CLAUDE_SHARED_DIR / CLAUDE_CONFIG_DIR (#645)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful

This commit is contained in:
Claude 2026-04-10 21:04:47 +00:00
parent 725f9321c2
commit 0553654cb1

View file

@ -89,12 +89,14 @@ BASE_RPC_URL= # [SECRET] on-chain RPC endpoint
# ── Tuning ──────────────────────────────────────────────────────────────── # ── Tuning ────────────────────────────────────────────────────────────────
CLAUDE_TIMEOUT=7200 # [CONFIG] max seconds per Claude invocation CLAUDE_TIMEOUT=7200 # [CONFIG] max seconds per Claude invocation
# ── Shared Claude config ──────────────────────────────────────────────────── # ── Claude Code shared OAuth state ─────────────────────────────────────────
# Shared directory for OAuth lock coherence across containers (#641, #642). # Shared directory used by every factory container so Claude Code's internal
# All containers mount this directory and resolve CLAUDE_CONFIG_DIR to the # proper-lockfile-based OAuth refresh lock works across containers. Both
# same location, so proper-lockfile's atomic mkdir works across them. # values must live outside $HOME (so docker bind mounts don't depend on UID
CLAUDE_SHARED_DIR=/var/lib/disinto/claude-shared # [CONFIG] shared mount path # mapping) and must be the same absolute path on host and inside each
CLAUDE_CONFIG_DIR=${CLAUDE_SHARED_DIR}/config # [CONFIG] config subdirectory # container. See docs/CLAUDE-AUTH-CONCURRENCY.md.
CLAUDE_SHARED_DIR=/var/lib/disinto/claude-shared
CLAUDE_CONFIG_DIR=${CLAUDE_SHARED_DIR}/config
# ── Factory safety ──────────────────────────────────────────────────────── # ── Factory safety ────────────────────────────────────────────────────────
# Disables Claude Code auto-updater, telemetry, error reporting, and bug # Disables Claude Code auto-updater, telemetry, error reporting, and bug