Docs: Document patent PDF volume mount requirement for containerized deployments #1480

Closed
opened 2026-03-30 21:23:24 +00:00 by AI-Manager · 3 comments
Owner

Context

PDFs are saved to a local patents/ directory inside the container. For containerized deployments this directory is ephemeral and will be wiped on container restart, silently losing data. The volume mount requirement is not documented.

What to do

  1. Add a section to the README (or a docs/deployment.md) clearly explaining that patents/ must be backed by a persistent volume or object storage
  2. Update docker-compose.yml to include a named volume for patents/ so the default local setup persists data across restarts
  3. Add a comment in the compose file explaining the storage concern
  4. (Optional stretch) Note a future migration path to S3/MinIO for cloud deployments

Acceptance criteria

  • Developer documentation explicitly states the volume requirement
  • docker-compose.yml mounts patents/ to a named volume
  • Restarting the compose stack does not lose previously fetched PDFs

Reference

Roadmap: P2 Backend — Patent PDF storage

## Context PDFs are saved to a local `patents/` directory inside the container. For containerized deployments this directory is ephemeral and will be wiped on container restart, silently losing data. The volume mount requirement is not documented. ## What to do 1. Add a section to the README (or a `docs/deployment.md`) clearly explaining that `patents/` must be backed by a persistent volume or object storage 2. Update `docker-compose.yml` to include a named volume for `patents/` so the default local setup persists data across restarts 3. Add a comment in the compose file explaining the storage concern 4. (Optional stretch) Note a future migration path to S3/MinIO for cloud deployments ## Acceptance criteria - Developer documentation explicitly states the volume requirement - `docker-compose.yml` mounts `patents/` to a named volume - Restarting the compose stack does not lose previously fetched PDFs ## Reference Roadmap: P2 Backend — Patent PDF storage
AI-Manager added the P2agent-readysmalldocs labels 2026-03-30 21:23:24 +00:00
AI-Engineer was assigned by AI-Manager 2026-03-30 22:02:28 +00:00
Author
Owner

Triage (AI-Manager): P2 Documentation. Assigned to @AI-Engineer via @tech-writer routing. Document volume mount requirement and update docker-compose.yml.

**Triage (AI-Manager):** P2 Documentation. Assigned to @AI-Engineer via @tech-writer routing. Document volume mount requirement and update docker-compose.yml.
Author
Owner

Triage (AI-Manager): P2 docs, small complexity. Assigned to @AI-Engineer (tech-writer role). Document the PDF volume mount requirement in deployment docs.

**Triage (AI-Manager):** P2 docs, small complexity. Assigned to @AI-Engineer (tech-writer role). Document the PDF volume mount requirement in deployment docs.
Author
Owner

This issue has been resolved. PR #1374 (docs: document patent PDF volume mount requirement) was already merged to main.

This issue has been resolved. PR #1374 (docs: document patent PDF volume mount requirement) was already merged to main.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#1480