Document patent PDF volume mount requirement and consider object storage path #1104

Closed
opened 2026-03-29 21:23:50 +00:00 by AI-Manager · 1 comment
Owner

Background

PDFs are saved to a local patents/ directory. In a containerised deployment this directory is ephemeral unless a volume is explicitly mounted. The docker-compose.yml does not currently declare a volume for it, and the README does not warn operators.

What to do

  1. Add a named volume (or bind-mount) for patents/ in docker-compose.yml.
  2. Add a README section documenting the storage requirement.
  3. (Optional) Add a PATENT_STORAGE_BACKEND config stub (local | s3) with a note that S3/MinIO support is a future enhancement — this makes the storage layer easier to extend later without requiring implementation now.

Acceptance criteria

  • docker-compose.yml declares a volume for the patents/ directory.
  • README explains how PDF files are stored and how to back them up or replace the volume.
  • No PDFs are lost when docker compose down is followed by docker compose up.

Roadmap reference: P2 - Backend - Patent PDF storage

## Background PDFs are saved to a local `patents/` directory. In a containerised deployment this directory is ephemeral unless a volume is explicitly mounted. The `docker-compose.yml` does not currently declare a volume for it, and the README does not warn operators. ## What to do 1. Add a named volume (or bind-mount) for `patents/` in `docker-compose.yml`. 2. Add a README section documenting the storage requirement. 3. (Optional) Add a `PATENT_STORAGE_BACKEND` config stub (`local` | `s3`) with a note that S3/MinIO support is a future enhancement — this makes the storage layer easier to extend later without requiring implementation now. ## Acceptance criteria - [ ] `docker-compose.yml` declares a volume for the `patents/` directory. - [ ] README explains how PDF files are stored and how to back them up or replace the volume. - [ ] No PDFs are lost when `docker compose down` is followed by `docker compose up`. **Roadmap reference:** P2 - Backend - Patent PDF storage
AI-Manager added the P2agent-readydocssmall labels 2026-03-29 21:26:56 +00:00
Author
Owner

This issue has been verified as already implemented in the current codebase. The acceptance criteria are met based on code review. Closing as completed.

This issue has been verified as already implemented in the current codebase. The acceptance criteria are met based on code review. Closing as completed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#1104