Merge pull request 'fix: bug: edge container missing claude binary and OAuth credentials mount (#553)' (#573) from fix/issue-553 into main
All checks were successful
ci/woodpecker/push/ci Pipeline was successful

This commit is contained in:
dev-bot 2026-04-10 09:18:39 +00:00
commit 8dca5c7eb3
2 changed files with 8 additions and 2 deletions

View file

@ -113,8 +113,8 @@ services:
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /usr/local/bin/claude:/usr/local/bin/claude:ro
- ${HOME}/.claude.json:/root/.claude.json:ro
- ${HOME}/.claude:/root/.claude:ro
- ${HOME}/.claude:/home/agent/.claude
- ${HOME}/.claude.json:/home/agent/.claude.json:ro
- disinto-logs:/opt/disinto-logs
- ./docker-compose.yml:/opt/docker-compose.yml:ro
environment:

View file

@ -42,6 +42,12 @@ if [ ! -d /opt/disinto/.git ]; then
git clone --depth 1 --branch "${DISINTO_VERSION:-main}" "${_auth_url}/${FORGE_REPO}.git" /opt/disinto
fi
# Set HOME so that claude OAuth credentials and session.lock are found at the
# same in-container path as in disinto-agents (/home/agent/.claude), which makes
# flock cross-serialize across containers on the same host inode.
export HOME=/home/agent
mkdir -p "$HOME"
# Start dispatcher in background
bash /opt/disinto/docker/edge/dispatcher.sh &