security(ocr): run OCR container as non-root user (CIS Docker §4.1) #611

Merged
marcel merged 12 commits from feat/issue-459-ocr-non-root into main 2026-05-17 19:06:47 +02:00
Showing only changes of commit f1e0b92f47 - Show all commits

View File

@@ -112,7 +112,8 @@ services:
read_only: true
tmpfs:
- /tmp:size=512m # training endpoints write ZIPs to /tmp; 512 MB covers typical batches (2050 images)
cap_drop: [ALL]
cap_drop:
- ALL
security_opt:
- no-new-privileges:true