forked from 0xWheatyz/SPARC
Document patent PDF volume mount requirement and consider object storage path #1104
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?
Background
PDFs are saved to a local
patents/directory. In a containerised deployment this directory is ephemeral unless a volume is explicitly mounted. Thedocker-compose.ymldoes not currently declare a volume for it, and the README does not warn operators.What to do
patents/indocker-compose.yml.PATENT_STORAGE_BACKENDconfig 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.ymldeclares a volume for thepatents/directory.docker compose downis followed bydocker compose up.Roadmap reference: P2 - Backend - Patent PDF storage
This issue has been verified as already implemented in the current codebase. The acceptance criteria are met based on code review. Closing as completed.