fix: docker-compose.yml: switch .claude mounts to shared CLAUDE_CONFIG_DIR (#642)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
ci/woodpecker/pr/smoke-init Pipeline was successful

This commit is contained in:
Claude 2026-04-10 20:32:07 +00:00
parent b593635d64
commit 4b6cc4afde
2 changed files with 18 additions and 4 deletions

View file

@ -89,6 +89,13 @@ BASE_RPC_URL= # [SECRET] on-chain RPC endpoint
# ── Tuning ────────────────────────────────────────────────────────────────
CLAUDE_TIMEOUT=7200 # [CONFIG] max seconds per Claude invocation
# ── Shared Claude config ────────────────────────────────────────────────────
# Shared directory for OAuth lock coherence across containers (#641, #642).
# All containers mount this directory and resolve CLAUDE_CONFIG_DIR to the
# same location, so proper-lockfile's atomic mkdir works across them.
CLAUDE_SHARED_DIR=/var/lib/disinto/claude-shared # [CONFIG] shared mount path
CLAUDE_CONFIG_DIR=${CLAUDE_SHARED_DIR}/config # [CONFIG] config subdirectory
# ── Factory safety ────────────────────────────────────────────────────────
# Disables Claude Code auto-updater, telemetry, error reporting, and bug
# command. Factory sessions are production processes — they must never phone