Skip to content

fix(docker): streamline workspace setup - #420

Closed
mateususa wants to merge 1 commit into
outsourc-e:mainfrom
mateususa:fix/docker-workspace-setup
Closed

fix(docker): streamline workspace setup#420
mateususa wants to merge 1 commit into
outsourc-e:mainfrom
mateususa:fix/docker-workspace-setup

Conversation

@mateususa

Copy link
Copy Markdown

Summary

  • keep the Docker quickstart to two containers by running the Hermes dashboard API inside the agent container
  • persist shared Hermes config/state and workspace files with named Docker volumes
  • make chat model selection honor per-session WebUI choices and clarify Hermes Agent restart messaging

Verification

  • docker compose config
  • docker compose up -d --remove-orphans
  • confirmed workspace logs show mode=zero-fork with sessions, skills, memory, config, and jobs enabled

Docker fixes:
- Start dashboard API (HERMES_DASHBOARD=1) alongside gateway so
  workspace reaches sessions/skills/config/jobs over Docker DNS
  instead of falling back to limited zero-fork mode
- Bind gateway on 0.0.0.0 inside container (host publish stays
  loopback-only at 127.0.0.1:8642)
- Healthcheck now verifies both :8642 and :9119
- Rename volume claude-data -> hermes-agent-data; add
  hermes-workspace-files for file browser persistence
- Add restart: unless-stopped to both services
- Fix stale 'claude setup' comment -> 'hermes setup'

Chat model selection:
- Per-session model from the composer now persists and is sent with
  each message instead of silently falling back to the backend default
- Default model config path: agents.defaults.model.primary -> model.default

pnpm 11 build:
- Add pnpm-workspace.yaml with allowBuilds map (pnpm 11 removed
  onlyBuiltDependencies / dangerouslyAllowAllBuilds)
- Dockerfile COPY pnpm-workspace.yaml before pnpm install

Misc:
- Config API message: 'Restart Claude' -> 'Restart Hermes Agent'
- README: document Docker terminal backend, volume persistence,
  dashboard API reachability
- CHANGELOG: add [Unreleased] entries for all fixes
@outsourc-e

Copy link
Copy Markdown
Owner

Closing as superseded by #432. The validated fix was folded into the consolidated batch branch fix/issue-sweep-batch-20260514 for one review/merge path.

@outsourc-e outsourc-e closed this May 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants