File size: 618 Bytes
be56d87
 
 
 
3ed4b9f
be56d87
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
32
33
34
35
version: "3.8"

services:
  llmdataparser:
    image: jeff52415/llmdataparser:latest
    environment:
      - GRADIO_SERVER_PORT=7860
    volumes:
      - .:/app
      - huggingface_cache:/app/.cache/huggingface
    healthcheck:
      test: ["CMD", "curl", "-f", "http://127.0.0.1:7860"]
      interval: 30s
      timeout: 10s
      retries: 3
    networks:
      - internal

  nginx:
    image: nginx:alpine
    ports:
      - "80:80"
    volumes:
      - ./nginx.conf:/etc/nginx/nginx.conf:ro
    depends_on:
      - llmdataparser
    networks:
      - internal

networks:
  internal:

volumes:
  huggingface_cache: