File size: 637 Bytes
cc59214
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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:-}
    deploy:
      resources:
        limits:
          memory: 4g

  frontend:
    build:
      context: ./frontend
    ports:
      - "3000:80"
    depends_on:
      - document-parser

volumes:
  uploads_data:
  db_data: