Files
openmotion/docs
VanJay 9124237a13 feat(deploy): add a local Docker Compose deployment (#577)
* feat(deploy): add a local Docker Compose deployment

Add deploy/ with a Dockerfile, a Compose file and a guide. The image is
built from the checkout and carries Node.js 26.11.1, Chromium,
FFmpeg/ffprobe and CJK fonts. Projects and exports live in a named
volume at MOTION_DATA_DIR=/data.

Add MOTION_BIND_HOST so the server can listen on an address other than
loopback. The default stays 127.0.0.1. The image sets 0.0.0.0 and
Compose publishes the port on the host's 127.0.0.1 only. The Host and
Origin checks in handler() are unchanged, so this adds no remote access.

Agents connect with `docker exec -i openmotion node
--experimental-strip-types mcp.ts`, which reuses the running service.

Known limit: the Studio's web browser tab cannot start Chromium with its
sandbox in an unprivileged container. Preview and export are unaffected.

* docs(deploy): record the x86_64 container validation

* fix(deploy): accept only loopback or wildcard bind addresses

MOTION_BIND_HOST accepted any IP address. With a specific interface
address the readiness probe and the URLs returned to Agents still used
127.0.0.1, so startup timed out and handoffs pointed at an address
nothing listened on. Accept 127.0.0.1, 0.0.0.0 and :: only.

Correct the access description in the deployment guide and the change
record: publishing the port on the host's loopback address is the
boundary. The Host and Origin checks protect a local browser from other
websites and are not authentication.

* fix(deploy): keep MCP connection commands inside the Docker workspace

* fix(deploy): preserve primary Skill onboarding for Docker connections

* fix(deploy): accept Docker discovery in Studio connection consumers

* test(studio): isolate page cleanup from tracking retries

---------

Co-authored-by: lefarcen <935902669@qq.com>
2026-11-18 17:54:27 +08:00
..

OpenMotion 文档

这里维护公开的使用说明、技术契约和可复现检查。每次变更时整体审视 产品架构,判断定位、核心流程、模块职责、依赖、数据与接口边界、当前能力和限制是否仍准确一致;仅在需要时更新,并按需调整相关说明。架构仍准确时保持文档不变,不要求每次提交或 PR 修改文档或新增需求记录。不将个人环境、客户资料、内部讨论或商业研究写入公开文档。

阅读入口

分发与验证

npm、插件 ZIP 和完整 ZIP 共用 scripts/distribution.ts 的文件清单,文档必须逐项批准;源码仓库的存在不表示应当随包发送。运行时必须保留 Skill 引用、MCP 契约和许可证。工程、用户配置、凭据、构建日志与验收媒体留在包外。

使用项目自身的确定性检查,按变化运行相应类型检查、单测与真实环境验收。区分本地通过、CI 通过、目标机安装、宿主加载、模型创作和人工视觉验收,不将一种证据替代另一种。

  • Generation options: shared model-specific controls, parameter types and resizable asset panes.