memorix icon indicating copy to clipboard operation
memorix copied to clipboard

container deployment 【容器化部署】

Open AbyssOvO opened this issue 9 months ago • 2 comments

provide an offical contaier image and docker compose deployment schemas for NAS or HomeServer.

提供官方的OCI容器镜像和一个示例DockerCompose部署文件,便于将这个服务部署在NAS或HomeServer中。

AbyssOvO avatar Feb 25 '26 08:02 AbyssOvO

Thanks for the suggestion! Container deployment is definitely on the roadmap.

A few things we're considering:

  1. Dashboard is the easiest part it's already an HTTP service (port 3210), so containerizing it is straightforward.
  2. MCP Server currently runs as a stdio transport (agent communicates via stdin/stdout). For container deployment, we'd need to switch to SSE or Streamable HTTP transport, which the MCP SDK already supports but requires some architecture work on our end.
  3. Hooks (auto-memory capture) run as local CLI commands invoked by the agent. In a remote deployment scenario, the hook handler would need to call a remote API instead of writing to local storage this is the trickiest part.

We'll plan this out after stabilizing the current release. The likely approach would be:

  • Dockerfile + docker-compose for Dashboard + SSE-based MCP server
  • Local hooks CLI that forwards events to the remote server
  • Volume mount for persistent data

Will keep this issue open for tracking. Thanks for raising it

AVIDS2 avatar Feb 25 '26 12:02 AVIDS2

Closing this as completed.

The repo now includes a working Docker deployment path for the HTTP control plane, with:

  • a multi-stage Dockerfile
  • compose.yaml
  • serve-http binding on 0.0.0.0
  • port 3211 exposure
  • /health healthcheck
  • docs/DOCKER.md documentation

This covers the containerized serve-http + dashboard + HTTP MCP flow.

AVIDS2 avatar Apr 20 '26 03:04 AVIDS2