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: