fix(effi-ocr): update OpenWebUI tool config and add effi-server deployment

- Update TOOL-OPENWEBUI.md with correct OCR_URL for local deployment
- Add docker-compose-ocr.yml for deploying effi-ocr on effi-server
- Clarify architecture: effi-ocr must be on same server as OpenWebUI
- Update environment variable documentation for OCR_URL
This commit is contained in:
Folzo
2026-04-08 21:42:38 +02:00
parent 9e6fbfcc25
commit 23d24e90d1
2 changed files with 32 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
version: '3.8'
services:
effi-ocr:
build:
context: ./effi-ocr
dockerfile: Dockerfile
container_name: effi-ocr
ports:
- "8300:8300"
restart: unless-stopped
environment:
- PYTHONUNBUFFERED=1
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8300/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
networks:
- effi-net
networks:
effi-net:
external: true
name: effi-network
+6
View File
@@ -125,6 +125,12 @@ class Tools:
Dans les Settings d'OpenWebUI (Admin → Settings → Environment Variables) :
**Si effi-ocr est sur le MEME serveur (recommandé):**
```
OCR_URL=http://host.docker.internal:8300
```
**Si effi-ocr est sur un autre serveur (Fedora 192.168.1.11):**
```
OCR_URL=http://192.168.1.11:8300
```