- add Docker deployment for independent jarca-ledger container - enable FastMCP streamable-http runtime configuration - document dcy-013, REQ-019, and BAT-015 verification evidence - update structure/runtime baselines and deployment runbook
1.3 KiB
1.3 KiB
BAT-015 Planning
Scope
- Implement and verify REQ-019 Docker network MCP deployment.
- Preserve existing stdio MCP compatibility while enabling
streamable-httpruntime mode. - Deploy
jarca-ledgeras an independent Docker service with Synology bind volume. - Migrate the existing operating DB from
jarcatojarca-ledgerwith backup/snapshot evidence. - Refresh deployment runbook and baseline docs.
Design Gate
- Required: yes
- Rationale: this batch changes runtime topology, deployment ownership, exposed MCP transport, Docker health behavior, and operating DB location. A design/evidence trail is required even though the code diff is small.
Work plan
- Add MCP runtime config helpers for stdio/sse/streamable-http transport selection.
- Add tests for default stdio, streamable-http env config, and invalid transport rejection.
- Add Dockerfile,
.dockerignore, compose service, healthcheck, and runbook. - Build and run
jarca-ledgerwith/volume1/docker/jarca-ledger/data:/data. - Verify network MCP using a streamable-http client against
http://192.168.55.253:8000/mcp. - Snapshot existing
jarcaDB with SQLite backup API, back up the new empty DB, replace/data/ledger.sqlite3, restart, and verify table counts/integrity. - Update StagePilot Discovery/SRS/BAT/baseline docs.