fix: bind-mount host Claude credentials instead of empty Docker volume
Replace the claude-auth named Docker volume with bind mounts to the host
user's ~/.claude/ and ~/.claude.json. The named volume creates an empty
directory, so the agents container cannot authenticate with Claude CLI.
Bind-mounting from ${HOME} ensures the container picks up existing
credentials without manual intervention.
Closes codeberg.org/johba/disinto/issues/633
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
c63c6a4e6e
commit
632508e18e
1 changed files with 2 additions and 2 deletions
|
|
@ -213,7 +213,8 @@ services:
|
|||
- agent-data:/home/agent/data
|
||||
- project-repos:/home/agent/repos
|
||||
- ./:/home/agent/disinto:ro
|
||||
- claude-auth:/home/agent/.claude:ro
|
||||
- ${HOME}/.claude:/home/agent/.claude:ro
|
||||
- ${HOME}/.claude.json:/home/agent/.claude.json:ro
|
||||
- CLAUDE_BIN_PLACEHOLDER:/usr/local/bin/claude:ro
|
||||
environment:
|
||||
FORGE_URL: http://forgejo:3000
|
||||
|
|
@ -235,7 +236,6 @@ volumes:
|
|||
dendrite-data:
|
||||
agent-data:
|
||||
project-repos:
|
||||
claude-auth:
|
||||
|
||||
networks:
|
||||
disinto-net:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue