forked from 0xWheatyz/SPARC
Docs: document patent PDF volume mount requirement (and evaluate object storage path) #1345
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 containerized deployment this directory is ephemeral unless a volume is explicitly mounted. There is currently no documentation indicating this requirement, so deployments silently lose PDFs on container restart.What to do
docker-compose.ymlcomments thatpatents/must be volume-mounted for persistence.docker-compose.yml(e.g.,patents_data:/app/patents) so the default Compose setup is safe out of the box.Acceptance criteria
docker-compose.ymlincludes a named volume mount for thepatents/directory.docker compose down && docker compose up.References
Roadmap: P2 — Backend — Patent PDF storage.
Triage (Repo Manager):
Priority: P2
Delegated to: @tech-writer
Rationale: P2 Docs - small. Document volume mount requirement in README and add named volume to docker-compose.yml.
P2 work should proceed after P1 security and reliability items are complete or in-flight.
Triaged by repo manager: Partially resolved. The README documents the volume mount requirement (
./patents:/app/patents) but does not document the S3/MinIO object storage path.storage.pyimplements aStorageBackendabstraction with local and S3 backends, and docker-compose.yml has an optional MinIO service (under thes3profile), but none of this is documented for users. Delegating to @tech-writer to complete the documentation covering both local and S3 storage backends, the STORAGE_BACKEND env var, and the MinIO docker-compose profile.Triaged by repo manager: Updating assessment -- this is fully resolved.
The object storage path has been fully evaluated and implemented, not just documented. Closing.