# Hermes Workspace — Development Overlay
#
# Builds the Workspace image from local source instead of pulling the
# pre-built GHCR image. Use when iterating on Workspace code (server,
# routes, UI) and you want changes to land in the container without
# publishing a release first.
#
# The Hermes Agent service still uses the canonical upstream image
# (nousresearch/hermes-agent:latest, ~750k pulls) — there is no need to
# rebuild that locally, and doing so just couples the compose stack to
# whatever vendored Python the workspace happens to ship. If you really
# need a custom agent image, build/tag it separately and override the
# `image:` field in your own .override.yml.
#
# Usage:
#   docker compose -f docker-compose.yml -f docker-compose.dev.yml up --build
#
# The base docker-compose.yml stays untouched for a regular install-and-run.
# When this overlay is merged in, `build:` takes priority over `image:` for
# the workspace service so local source is compiled instead of pulled.

services:
  hermes-workspace:
    build:
      context: .
      dockerfile: ./Dockerfile
