paddle ocr suport

This commit is contained in:
m
2026-07-12 12:19:19 +02:00
parent f303ac8b5c
commit 571a571db6
8 changed files with 197 additions and 4 deletions
+6 -2
View File
@@ -1,15 +1,19 @@
services:
paddleocr:
image: paddlecloud/paddleocr:2.6-cpu-latest
build:
context: ./backend/ocr-server
dockerfile: Dockerfile
ports:
- "9090:8080"
environment:
- OCR_LANG=fr
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-sf", "http://localhost:8080/health"]
interval: 30s
timeout: 10s
retries: 5
start_period: 60s
start_period: 120s
# backend:
# build: