File size: 422 Bytes
744603c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
services:
  nhtsa-duckdb:
    build: .
    container_name: nhtsa-duckdb
    ports:
      - "8501:8501"
    # API keys (OPENAI_API_KEY, HUGGINGFACEHUB_API_TOKEN) come from .env
    env_file:
      - .env
    environment:
      - DUCKDB_PATH=/app/data/complaints.duckdb
    volumes:
      # Persist the DuckDB file across container restarts
      - duckdb-data:/app/data
    restart: unless-stopped

volumes:
  duckdb-data: