Commit Graph

3 Commits

Author SHA1 Message Date
cd9bda57c3 Revert "fix(hermes-workspace): add HOST/ENV vars, drop redundant nodejs install"
This reverts commit 735ddcb555.
2026-05-20 14:05:51 -04:00
735ddcb555 fix(hermes-workspace): add HOST/ENV vars, drop redundant nodejs install
- Add ENV HOST=0.0.0.0 so workspace listens on all interfaces
  (required for Traefik reverse proxy to reach it)
- Add ENV NODE_ENV=production for production-mode optimizations
- Remove apt-get install of nodejs (already in base image,
  apt version would be older and could conflict)
- Only install tmux and curl in the workspace layer
- entrypoint-combined.sh: rewritten with proper logging,
  graceful shutdown, configurable gateway health check
2026-05-20 14:05:41 -04:00
6b506163e9 feat: add combined Hermes Workspace image with Swarm worker support
New directory ai/hermes-workspace/ with:
- Dockerfile (multi-stage): builds workspace web UI from source,
  overlays our Hermes fork, installs tmux for Swarm workers
- entrypoint-combined.sh: starts workspace UI, waits for gateway
- himalaya-ro.sh: read-only Himalaya wrapper (shared from hermes/)

Existing ai/hermes/ Dockerfile preserved unchanged as fallback.

compose.yml changes:
- Add HERMES_DASHBOARD=1 + healthcheck to hermes service
- Add hermes-workspace service using combined image
  (build context: ./hermes-workspace, SSH build)
  - Connects to hermes:8642 (gateway) + :9119 (dashboard)
  - Shares Hermes data volume for config/sessions/skills
  - Traefik on workspace.lazyworkhorse.net (port 3000)
  - Networks: ai_backend + ai_net
2026-05-19 20:50:08 -04:00