feat(infra): production deployment pipeline — Caddy, staging, Gitea Actions (#497) #499
@@ -128,6 +128,11 @@ services:
|
|||||||
TRAINING_TOKEN: ${OCR_TRAINING_TOKEN}
|
TRAINING_TOKEN: ${OCR_TRAINING_TOKEN}
|
||||||
OCR_CONFIDENCE_THRESHOLD: "0.3"
|
OCR_CONFIDENCE_THRESHOLD: "0.3"
|
||||||
OCR_CONFIDENCE_THRESHOLD_KURRENT: "0.5"
|
OCR_CONFIDENCE_THRESHOLD_KURRENT: "0.5"
|
||||||
|
# SSRF allowlist pinned explicitly to the internal MinIO hostname.
|
||||||
|
# In prod the OCR service only fetches PDFs from MinIO over the
|
||||||
|
# docker network; localhost/127.0.0.1 are dev-only sources and
|
||||||
|
# must NOT be reachable here. Do not widen to `*`.
|
||||||
|
ALLOWED_PDF_HOSTS: "minio"
|
||||||
networks:
|
networks:
|
||||||
- archive-net
|
- archive-net
|
||||||
healthcheck:
|
healthcheck:
|
||||||
|
|||||||
Reference in New Issue
Block a user