docling-studio/docker-compose.yml
Pier-Jean Malandrino 26fd46967c fix: forward BATCH_PAGE_SIZE env var in docker-compose
The variable was defined in settings but never passed to the container,
making batch mode silently disabled in Docker deployments.
2026-04-09 15:51:41 +02:00

33 lines
775 B
YAML

services:
document-parser:
build:
context: ./document-parser
target: ${CONVERSION_MODE:-local}
expose:
- "8000"
volumes:
- uploads_data:/app/uploads
- db_data:/app/data
environment:
CORS_ORIGINS: ${CORS_ORIGINS:-http://localhost:3000,http://localhost:5173}
DOCLING_SERVE_URL: ${DOCLING_SERVE_URL:-}
DOCLING_SERVE_API_KEY: ${DOCLING_SERVE_API_KEY:-}
RATE_LIMIT_RPM: ${RATE_LIMIT_RPM:-100}
MAX_FILE_SIZE_MB: ${MAX_FILE_SIZE_MB:-50}
BATCH_PAGE_SIZE: ${BATCH_PAGE_SIZE:-0}
deploy:
resources:
limits:
memory: 4g
frontend:
build:
context: ./frontend
ports:
- "3000:80"
depends_on:
- document-parser
volumes:
uploads_data:
db_data: