fix: PaddleOCR model pre-load at startup + 5min healthcheck grace
Some checks failed
Deploy to Coolify / deploy (push) Has been cancelled

Model wird beim Container-Start geladen (nicht erst beim ersten Request).
Health-Check start_period auf 300s erhoeht fuer initialen Download.
/health gibt "loading" zurueck bis Modell bereit ist.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Benjamin Admin
2026-03-12 13:12:14 +01:00
parent 4ee38d6f0b
commit 2bc0f87325
2 changed files with 27 additions and 3 deletions

View File

@@ -164,8 +164,8 @@ services:
test: ["CMD", "curl", "-f", "http://127.0.0.1:8095/health"]
interval: 30s
timeout: 10s
start_period: 120s
retries: 3
start_period: 300s
retries: 5
restart: unless-stopped
networks:
- breakpilot-network