memorix
memorix copied to clipboard
container deployment 【容器化部署】
provide an offical contaier image and docker compose deployment schemas for NAS or HomeServer.
提供官方的OCI容器镜像和一个示例DockerCompose部署文件,便于将这个服务部署在NAS或HomeServer中。
Thanks for the suggestion! Container deployment is definitely on the roadmap.
A few things we're considering:
- Dashboard is the easiest part it's already an HTTP service (port 3210), so containerizing it is straightforward.
- 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.
- 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
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.