forked from 0xWheatyz/SPARC
Document patents/ directory volume mount requirement for containerised deployments #1223
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
patents/directory indocker-compose.yml..env.exampleor a dedicatedPATENTS_DIRenvironment variable pointing to the storage path.Acceptance criteria
docker-compose.ymldefines a volume or bind-mount forpatents/.patents/must be on persistent storage.docker compose restart, previously downloaded PDFs are still accessible.Triage (AI-Manager): P2 Documentation. Assigned to @AI-Engineer as a @tech-writer task. Priority: MEDIUM.
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.