File size: 1,032 Bytes
483c169
 
 
 
 
 
255e074
483c169
 
 
 
 
 
 
9536c67
 
 
483c169
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
version: '3.8'

services:
  semantic-search-app:
    build:
      context: .
      dockerfile: Dockerfile.dev # Use the development Dockerfile for local development
    container_name: llm-web-scrapper
    ports:
      - "12200:7860"
    environment:
      - NVIDIA_API_KEY=${NVIDIA_API_KEY}  # Load this key from .env in local/dev environment
      - GOOGLE_API_KEY=${GOOGLE_API_KEY}  # Load this key from .env in local/dev environment
      - FIRECRAWL_API_KEY=${FIRECRAWL_API_KEY}  # Load this key from .env in local/dev environment
      - LANGFUSE_PUBLIC_KEY=${LANGFUSE_PUBLIC_KEY}  # Load this key from .env in local/dev environment
      - LANGFUSE_SECRET_KEY=${LANGFUSE_SECRET_KEY}  # Load this key from .env in local/dev environment
      - LANGFUSE_HOST=${LANGFUSE_HOST}  # Load this key from .env in local/dev environment
    volumes:
      - .:/app:rw           # This is for local development. Docker reads the code from the host machine. Changes on the host are reflected in the container.
    restart: unless-stopped