fix: use consistent claude path and add DISINTO_CONTAINER=1 to edge service
- 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:
parent
13a35f8355
commit
96d1aa7a29
1 changed files with 2 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ services:
|
||||||
container_name: disinto-edge
|
container_name: disinto-edge
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /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.json:/root/.claude.json:ro
|
||||||
- ${HOME}/.claude:/root/.claude:ro
|
- ${HOME}/.claude:/root/.claude:ro
|
||||||
- disinto-logs:/opt/disinto-logs
|
- disinto-logs:/opt/disinto-logs
|
||||||
|
|
@ -74,6 +74,7 @@ services:
|
||||||
- CLAUDE_MODEL=claude-sonnet-4-6
|
- CLAUDE_MODEL=claude-sonnet-4-6
|
||||||
- FORGE_TOKEN=${FORGE_TOKEN:-}
|
- FORGE_TOKEN=${FORGE_TOKEN:-}
|
||||||
- FORGE_URL=http://forgejo:3000
|
- FORGE_URL=http://forgejo:3000
|
||||||
|
- DISINTO_CONTAINER=1
|
||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
- "443:443"
|
- "443:443"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue