Commit Graph

10 Commits

Author SHA1 Message Date
88ef0d6943 Remove hardcoded credentials, harden deployment, optimize OCR
Secrets (S3 keys, PG password, DeerMapper API key) were committed in
config.yaml and .env and remain in git history. This removes them from
the tracked tree and moves all secrets to env injection.

Security:
- config.yaml: drop all credentials, keep only non-secret app tunables
- untrack .env, add .env.example template; .gitignore excludes .env
- main.py: tolerant config lookups + fail-fast validation for missing secrets
- docker-compose: env_file injection, no full-repo bind mount, debug port off
- Dockerfile: bake config into image, run as non-root user

Efficiency:
- OCR: run the second (expensive) tesseract pass only when the first
  is unparsable; identical fallback behavior

Docs:
- README with operation + security notes
- MIGRATION.md runbook: secret rotation, server cutover, decommission,
  git history purge

Note: the leaked secrets are compromised and MUST be rotated; removing
them from the tree is not sufficient. See MIGRATION.md.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-13 21:35:04 +02:00
2e9ee3e014 Enhance configuration and processing with DeerMapper API integration, adjustable parameters, and improved error handling 2026-02-15 22:39:20 +00:00
Dom
2294962d57 Add job completion check and cleanup for duplicate entrance sets 2026-02-14 12:17:06 +00:00
Dom
b35394c569 Add environment configuration and enhance Shiny app with AWS integration 2026-02-08 14:04:42 +00:00
Dom
3873cb7b3f Enhance OCR timestamp extraction with flexible regex matching and improved error handling 2026-02-07 20:07:02 +00:00
Dom
1e4a7b86b6 Refactor environment variables and remove unused launch configuration 2026-02-07 19:43:14 +00:00
Dom
2ce587b1e0 again 2026-02-06 14:38:43 +00:00
Dom
c923a12c7c debuggen im container 2026-02-06 14:05:27 +00:00
dom
2b694bad90 docker ready 2026-02-06 12:43:03 +01:00
dom
c8f1ca4f4e starting out 2026-02-06 11:44:32 +01:00