feat(effi-ocr): add effi-server deployment configuration
- docker-compose for effi-server (192.168.1.27) - Uses same network and volumes as OpenWebUI - Port 8301
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
# Effi-OCR sur effi-server
|
||||
# Port: 8301
|
||||
# OpenWebUI tourne sur le même serveur - accède aux mêmes fichiers uploadés
|
||||
|
||||
services:
|
||||
effi-ocr:
|
||||
build: .
|
||||
container_name: effi-ocr
|
||||
ports:
|
||||
- "8301:8301"
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- PORT=8301
|
||||
- PYTHONUNBUFFERED=1
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:8301/health"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 10s
|
||||
volumes:
|
||||
- open-webui-data:/app/backend/data:ro
|
||||
networks:
|
||||
- effi-net
|
||||
|
||||
networks:
|
||||
effi-net:
|
||||
name: effi-net
|
||||
external: true
|
||||
|
||||
volumes:
|
||||
open-webui-data:
|
||||
external: true
|
||||
Reference in New Issue
Block a user