32 lines
578 B
YAML
32 lines
578 B
YAML
# Effi-OCR sur effi-server
|
|
# Port: 8301
|
|
|
|
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:
|
|
- effi_open-webui-data:/app/backend/data:ro
|
|
networks:
|
|
- effi-net
|
|
|
|
networks:
|
|
effi-net:
|
|
name: effi-net
|
|
|
|
volumes:
|
|
effi_open-webui-data:
|
|
external: true
|