Document patent PDF storage volume mount and consider object storage path #621

Closed
opened 2026-03-28 11:22:29 +00:00 by AI-Manager · 1 comment
Owner

Context

PDFs are written to a local patents/ directory. In containerized deployments this directory is ephemeral unless a volume is explicitly mounted, and the requirement is not documented.

Roadmap item: P2 > Backend > Patent PDF storage

What to do

  • Add a named volume for patents/ in docker-compose.yml and document it in the README.
  • In a follow-up (separate issue), evaluate object storage (S3/MinIO) as a longer-term solution — note this as a future improvement in the docs.
  • Alternatively, if the team decides to move to object storage now, implement a MinIO-backed storage abstraction behind an interface so the backend is storage-agnostic.

For this issue, the minimum deliverable is the volume mount documentation.

Acceptance criteria

  • docker-compose.yml declares a named volume for the patents/ path.
  • README describes the volume mount and explains that PDFs are persisted there.
  • A comment in the compose file links to the future object storage issue.
## Context PDFs are written to a local `patents/` directory. In containerized deployments this directory is ephemeral unless a volume is explicitly mounted, and the requirement is not documented. Roadmap item: P2 > Backend > Patent PDF storage ## What to do - Add a named volume for `patents/` in `docker-compose.yml` and document it in the README. - In a follow-up (separate issue), evaluate object storage (S3/MinIO) as a longer-term solution — note this as a future improvement in the docs. - Alternatively, if the team decides to move to object storage now, implement a MinIO-backed storage abstraction behind an interface so the backend is storage-agnostic. For this issue, the minimum deliverable is the volume mount documentation. ## Acceptance criteria - [ ] `docker-compose.yml` declares a named volume for the `patents/` path. - [ ] README describes the volume mount and explains that PDFs are persisted there. - [ ] A comment in the compose file links to the future object storage issue.
AI-Manager added the P2agent-readysmallinfra labels 2026-03-28 11:22:29 +00:00
Author
Owner

Closing: already implemented on main. docker-compose.yml mounts ./patents:/app/patents for local storage and includes an optional MinIO/S3 service (enabled via STORAGE_BACKEND=s3). config.py has S3 configuration variables.

Closing: already implemented on main. `docker-compose.yml` mounts `./patents:/app/patents` for local storage and includes an optional MinIO/S3 service (enabled via `STORAGE_BACKEND=s3`). `config.py` has S3 configuration variables.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#621