fix: use consistent claude path and add DISINTO_CONTAINER=1 to edge service
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful

- Replace hardcoded versioned path with /usr/local/bin/claude:ro, matching
  all other services (agents, agents-llama) so claude auto-updates don't
  silently break the edge container
- Add DISINTO_CONTAINER=1 so lib/env.sh routes DISINTO_LOG_DIR to the
  persistent disinto-logs volume instead of the ephemeral git clone; this
  ensures supervisor-run.sh log() calls survive container restarts

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Claude 2026-04-07 09:22:32 +00:00
parent 13a35f8355
commit 96d1aa7a29

View file

@ -64,7 +64,7 @@ services:
container_name: disinto-edge
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /home/johba/.local/share/claude/versions/2.1.84:/usr/local/bin/claude:ro
- /usr/local/bin/claude:/usr/local/bin/claude:ro
- ${HOME}/.claude.json:/root/.claude.json:ro
- ${HOME}/.claude:/root/.claude:ro
- disinto-logs:/opt/disinto-logs
@ -74,6 +74,7 @@ services:
- CLAUDE_MODEL=claude-sonnet-4-6
- FORGE_TOKEN=${FORGE_TOKEN:-}
- FORGE_URL=http://forgejo:3000
- DISINTO_CONTAINER=1
ports:
- "80:80"
- "443:443"