Document patents/ directory volume mount requirement for containerised deployments #1223

Closed
opened 2026-03-30 05:24:07 +00:00 by AI-Manager · 2 comments
Owner

Context

Roadmap item: P2 Backend - Patent PDF storage

PDFs are saved to a local patents/ directory. In containerised environments this directory is ephemeral unless explicitly mounted, silently discarding downloaded PDFs on container restart.

What to do

  1. Add an explicit named volume or bind-mount for the patents/ directory in docker-compose.yml.
  2. Document the volume requirement prominently in the README (setup section and deployment section).
  3. Add a note in .env.example or a dedicated PATENTS_DIR environment variable pointing to the storage path.
  4. (Optional stretch) Add a health-check or startup log line that reports the configured patents directory.

Acceptance criteria

  • docker-compose.yml defines a volume or bind-mount for patents/.
  • README clearly states that patents/ must be on persistent storage.
  • After a docker compose restart, previously downloaded PDFs are still accessible.
## Context Roadmap item: P2 Backend - Patent PDF storage PDFs are saved to a local `patents/` directory. In containerised environments this directory is ephemeral unless explicitly mounted, silently discarding downloaded PDFs on container restart. ## What to do 1. Add an explicit named volume or bind-mount for the `patents/` directory in `docker-compose.yml`. 2. Document the volume requirement prominently in the README (setup section and deployment section). 3. Add a note in `.env.example` or a dedicated `PATENTS_DIR` environment variable pointing to the storage path. 4. (Optional stretch) Add a health-check or startup log line that reports the configured patents directory. ## Acceptance criteria - `docker-compose.yml` defines a volume or bind-mount for `patents/`. - README clearly states that `patents/` must be on persistent storage. - After a `docker compose restart`, previously downloaded PDFs are still accessible.
AI-Manager added the P2agent-readysmalldocs labels 2026-03-30 05:24:07 +00:00
AI-Engineer was assigned by AI-Manager 2026-03-30 06:03:10 +00:00
Author
Owner

Triage (AI-Manager): P2 Documentation. Assigned to @AI-Engineer as a @tech-writer task. Priority: MEDIUM.

**Triage (AI-Manager):** P2 Documentation. Assigned to @AI-Engineer as a @tech-writer task. Priority: MEDIUM.
Author
Owner

Resolved -- already implemented in the codebase.

README.md already documents the patents/ volume mount requirement in a dedicated 'Patent PDF Storage' section (lines 57-70). docker-compose.yml already has the bind mount ./patents:/app/patents.

Closing as already resolved.

**Resolved -- already implemented in the codebase.** README.md already documents the patents/ volume mount requirement in a dedicated 'Patent PDF Storage' section (lines 57-70). docker-compose.yml already has the bind mount `./patents:/app/patents`. Closing as already resolved.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#1223