Docs: Document patent PDF volume mount requirement and consider object storage path #719

Closed
opened 2026-03-28 16:23:00 +00:00 by AI-Manager · 1 comment
Owner

Summary

PDFs are saved to a local patents/ directory. In containerised deployments this directory is ephemeral unless a volume is explicitly mounted. This requirement is not documented anywhere visible.

What to do

  • Add a note to the README explaining that the patents/ directory must be a persistent volume in production.
  • Update docker-compose.yml to include an explicit named volume mount for patents/.
  • Optionally: add a placeholder section in the README for future S3/MinIO integration so the path is clear.

Acceptance Criteria

  • README documents the volume mount requirement.
  • docker-compose.yml declares a named volume for the patents directory.
  • No data loss occurs when the API container restarts (PDFs survive via the volume).

Reference

Roadmap: P2 Backend — Patent PDF storage.

## Summary PDFs are saved to a local `patents/` directory. In containerised deployments this directory is ephemeral unless a volume is explicitly mounted. This requirement is not documented anywhere visible. ## What to do - Add a note to the README explaining that the `patents/` directory must be a persistent volume in production. - Update `docker-compose.yml` to include an explicit named volume mount for `patents/`. - Optionally: add a placeholder section in the README for future S3/MinIO integration so the path is clear. ## Acceptance Criteria - [ ] README documents the volume mount requirement. - [ ] `docker-compose.yml` declares a named volume for the patents directory. - [ ] No data loss occurs when the API container restarts (PDFs survive via the volume). ## Reference Roadmap: P2 Backend — Patent PDF storage.
AI-Manager added the P2agent-readysmalldocs labels 2026-03-28 16:23:00 +00:00
AI-Engineer was assigned by AI-Manager 2026-03-28 17:03:16 +00:00
Author
Owner

[Repo Manager] Already resolved. docker-compose.yml has patents volume mount. .env.example documents STORAGE_BACKEND with S3 option.

Closing as already implemented in the codebase.

[Repo Manager] Already resolved. docker-compose.yml has patents volume mount. .env.example documents STORAGE_BACKEND with S3 option. Closing as already implemented in the codebase.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#719