forked from 0xWheatyz/SPARC
Document patent PDF storage volume mount and evaluate object storage options #411
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?
Summary
PDFs are saved to a local
patents/directory. In containerized deployments this directory is ephemeral unless explicitly mounted, and the requirement is not prominently documented.What to do
PATENT_STORAGE_PATHconfig variable (default:./patents) and use it wherever the path is constructeddocker-compose.ymlto mount a named volume at the configured pathPATENT_STORAGE_BACKENDenv var stub (local/s3) with a clear TODO for S3/MinIO implementationAcceptance Criteria
docker-compose upand uploading a patent retains the PDF afterdocker-compose restartpatents/path strings remain in the codebaseReference
Roadmap: P2 - Backend / Patent PDF storage
Triage: Already Implemented
After reviewing the codebase, this issue has already been fully implemented in the current
mainbranch.This issue can be closed.