fix(ocr): route Surya model staging to SSD via TMPDIR + add volume-init service #615

Merged
marcel merged 10 commits from feat/issue-614-tmpdir-persistent-volume into main 2026-05-18 11:32:37 +02:00
2 changed files with 4 additions and 2 deletions
Showing only changes of commit 3182da8d92 - Show all commits

View File

@@ -134,7 +134,7 @@ services:
# created before the non-root ocr user was introduced in commit 1aca4c4a)
# and guarantees /app/cache/.tmp exists for TMPDIR staging. See ADR-021.
ocr-volume-init:
image: alpine:3
image: alpine:3.21
command:
- sh
- -c
@@ -142,6 +142,7 @@ services:
volumes:
- ocr-models:/app/models
- ocr-cache:/app/cache
networks: []
restart: "no"
ocr-service:

View File

@@ -77,7 +77,7 @@ services:
# created before the non-root ocr user was introduced in commit 1aca4c4a)
# and guarantees /app/cache/.tmp exists for TMPDIR staging. See ADR-021.
ocr-volume-init:
image: alpine:3
image: alpine:3.21
command:
- sh
- -c
@@ -85,6 +85,7 @@ services:
volumes:
- ocr_models:/app/models
- ocr_cache:/app/cache
networks: []
restart: "no"
# --- OCR: Python microservice (Surya + Kraken) ---