chore: Docker and infrastructure updates for PaddleOCR (#115) #119

Closed
opened 2026-02-07 16:13:05 +00:00 by egullickson · 0 comments
Owner

Relates to #115

Update Docker configuration, secrets, and compose files for PaddleOCR engine and optional cloud fallback.

Changes

  • Update ocr/Dockerfile - Add PaddlePaddle CPU and PaddleOCR, download PP-OCRv4 models during build
  • Update docker-compose.yml - Add environment vars for engine config, optional secret mount for Google Vision key
  • Update docker-compose.staging.yml - Same overrides if needed
  • Create secrets/app/google-vision-key.json placeholder (gitignored)
  • Remove Tesseract as required system dependency (keep optional for backward compat)

Acceptance Criteria

  • Dockerfile builds successfully with PaddleOCR + PP-OCRv4 models
  • Container starts and serves health endpoint
  • PaddleOCR models included in image (no runtime download)
  • Docker Compose configures engine environment variables
  • Optional Google Vision secret mount works when key file exists
  • Container image size is reasonable (document final size)
Relates to #115 Update Docker configuration, secrets, and compose files for PaddleOCR engine and optional cloud fallback. ## Changes - Update `ocr/Dockerfile` - Add PaddlePaddle CPU and PaddleOCR, download PP-OCRv4 models during build - Update `docker-compose.yml` - Add environment vars for engine config, optional secret mount for Google Vision key - Update `docker-compose.staging.yml` - Same overrides if needed - Create `secrets/app/google-vision-key.json` placeholder (gitignored) - Remove Tesseract as required system dependency (keep optional for backward compat) ## Acceptance Criteria - [ ] Dockerfile builds successfully with PaddleOCR + PP-OCRv4 models - [ ] Container starts and serves health endpoint - [ ] PaddleOCR models included in image (no runtime download) - [ ] Docker Compose configures engine environment variables - [ ] Optional Google Vision secret mount works when key file exists - [ ] Container image size is reasonable (document final size)
egullickson added the
status
backlog
type
chore
labels 2026-02-07 16:13:24 +00:00
egullickson added this to the Sprint 2026-02-02 milestone 2026-02-07 16:13:32 +00:00
egullickson added
status
in-progress
and removed
status
backlog
labels 2026-02-07 17:14:42 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: egullickson/motovaultpro#119