File size: 680 Bytes
2b6eb12
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
version: '3.8'

services:
  paper-review-app:
    build: .
    container_name: paper-review-system
    ports:
      - "8501:8501"
    volumes:
      # Mount the models directory to persist downloaded gguf files locally
      - ./local_models:/app/local_models
      # Mount the config file to allow easy local edits
      - ./config.json:/app/config.json
    environment:
      - PYTHONUNBUFFERED=1
    # Uncomment the following lines to enable NVIDIA GPU access in the container
    # deploy:
    #   resources:
    #     reservations:
    #       devices:
    #         - driver: nvidia
    #           count: all
    #           capabilities: [gpu]
    restart: unless-stopped