Skip to content

fix(docker): start Hermes Agent gateway in compose#385

Merged
outsourc-e merged 1 commit intomainfrom
fix/docker-compose-gateway-cmd
May 7, 2026
Merged

fix(docker): start Hermes Agent gateway in compose#385
outsourc-e merged 1 commit intomainfrom
fix/docker-compose-gateway-cmd

Conversation

@outsourc-e
Copy link
Copy Markdown
Owner

Summary

The hermes-agent image's default entrypoint is the interactive CLI, which exits immediately under docker compose up -d. That makes the gateway appear absent and the Workspace healthcheck/connection fail with Could not reach Hermes gateway.

This adds an explicit command: [gateway, run] to the hermes-agent service so the long-running API/health server starts on up -d.

Closes #360.

Reproduction without this fix

Fresh docker compose up -d against upstream main fails with the symptoms reported across several users on #360. The only working remedy was for users to manually patch their compose with command: gateway run (confirmed by @CipherFrame, @nazeshinjite, @nixbin-engineering in the issue thread).

Test plan

  • docker compose down -v && docker compose up -d --force-recreate
  • curl http://localhost:8642/health{"status":"ok","platform":"hermes-agent"}
  • Open http://localhost:3000 and confirm Workspace connects without "Could not reach Hermes gateway" error.

The hermes-agent image's default entrypoint is the interactive CLI which
exits immediately under `docker compose up -d`, causing the gateway to
appear absent and the Workspace healthcheck/connection to fail with
"Could not reach Hermes gateway". Override the command to `gateway run`
so the long-running API/health server starts.

Reproducible without this fix: a fresh `docker compose up -d` against
upstream main fails with the symptoms reported in #360 across several
users (different OSes), and the only working remedy was for users to
manually patch their compose with `command: gateway run`.

Closes #360
@outsourc-e outsourc-e merged commit 2b8093b into main May 7, 2026
3 checks passed
@outsourc-e outsourc-e deleted the fix/docker-compose-gateway-cmd branch May 7, 2026 23:56
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.

Unable to start docker compose

1 participant