feat: add x-hermes-worker anchor and example worker service #36

Open
Hermes wants to merge 0 commits from feat/hermes-worker-anchor into master
Collaborator

Summary

Add x-hermes-worker extension field with &hermes-worker YAML anchor at the top level of ai/compose.yml. Also add a commented example worker service showing how to extend the anchor.

Changes

ai/compose.yml:

  • Added x-hermes-worker: &hermes-worker extension field with:
    • Entrypoint (same as existing hermes service)
    • Restart: always
    • Command: gateway run
    • Networks: ai_backend
    • Environment vars: API_SERVER_ENABLED, OLLAMA_HOST, OPENROUTER_API_KEY, OPENCODE_GO_API_KEY, GATEWAY_ALLOW_ALL_USERS
  • Added commented example hermes-worker-1 service using <<: *hermes-worker to show how workers extend the anchor
  • No GPU devices in the anchor -- workers don't need ROCm

Verification

  • YAML validates cleanly with PyYAML
  • Existing hermes service unchanged
  • All 5 required environment variables present
  • Anchor is GPU-free
## Summary Add `x-hermes-worker` extension field with `&hermes-worker` YAML anchor at the top level of `ai/compose.yml`. Also add a commented example worker service showing how to extend the anchor. ## Changes **`ai/compose.yml`**: - Added `x-hermes-worker: &hermes-worker` extension field with: - Entrypoint (same as existing hermes service) - Restart: always - Command: gateway run - Networks: ai_backend - Environment vars: API_SERVER_ENABLED, OLLAMA_HOST, OPENROUTER_API_KEY, OPENCODE_GO_API_KEY, GATEWAY_ALLOW_ALL_USERS - Added commented example `hermes-worker-1` service using `<<: *hermes-worker` to show how workers extend the anchor - No GPU devices in the anchor -- workers don't need ROCm ## Verification - YAML validates cleanly with PyYAML - Existing `hermes` service unchanged - All 5 required environment variables present - Anchor is GPU-free
Some checks failed
Build Hermes agent / build (push) Has been cancelled
Build ollama (gfx906) / build (push) Has been cancelled
This branch is already included in the target branch. There is nothing to merge.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feat/hermes-worker-anchor:feat/hermes-worker-anchor
git checkout feat/hermes-worker-anchor
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: gortium/compose#36
No description provided.