Without an explicit command the image launches the interactive CLI by
default, which immediately exits with 'Input is not a terminal' in a
detached container — it was doing nothing on every restart. Also disables
API_SERVER_ENABLED: Hermes itself warns at startup that a network-reachable
API server combined with the default unsandboxed 'local' terminal backend
gives any caller on the network full terminal/file access. Not needed yet
(Matrix is the actual interface) — can re-enable properly (with a sandboxed
terminal backend) if claude-agent ever needs to call Hermes programmatically.
william
merged commit c88fdcc2ea into main2026-08-23 15:52:35 +00:00
Reviewed the diff (docker-compose.yml only, +10/-5). The core fix — adding command: ["gateway", "run"] and disabling API_SERVER_ENABLED — is sound and well-justified by the commit message. Two minor cleanup nits surfaced, both non-blocking:
.env.example still defines HERMES_API_SERVER_KEY, which is now dead since API_SERVER_KEY was dropped from the service.
The "re-enable" comment tells a future maintainer to restore API_SERVER_HOST but doesn't mention that API_SERVER_KEY also needs restoring.
No correctness bugs found in the actual behavioral change.
Reviewed the diff (docker-compose.yml only, +10/-5). The core fix — adding `command: ["gateway", "run"]` and disabling `API_SERVER_ENABLED` — is sound and well-justified by the commit message. Two minor cleanup nits surfaced, both non-blocking:
1. `.env.example` still defines `HERMES_API_SERVER_KEY`, which is now dead since `API_SERVER_KEY` was dropped from the service.
2. The "re-enable" comment tells a future maintainer to restore `API_SERVER_HOST` but doesn't mention that `API_SERVER_KEY` also needs restoring.
No correctness bugs found in the actual behavioral change.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Details in the commit message.
Reviewed the diff (docker-compose.yml only, +10/-5). The core fix — adding
command: ["gateway", "run"]and disablingAPI_SERVER_ENABLED— is sound and well-justified by the commit message. Two minor cleanup nits surfaced, both non-blocking:.env.examplestill definesHERMES_API_SERVER_KEY, which is now dead sinceAPI_SERVER_KEYwas dropped from the service.API_SERVER_HOSTbut doesn't mention thatAPI_SERVER_KEYalso needs restoring.No correctness bugs found in the actual behavioral change.