frkhan/semantic-search-app
0
1version: '3.8'2 3services:4 semantic-search-app:5 build:6 context: .7 dockerfile: Dockerfile8 container_name: semantic-search-app9 ports:10 - "12100:7860"11 environment:12 - NVIDIA_API_KEY=${NVIDIA_API_KEY} # Load this key from .env in local/dev environment13 - GOOGLE_API_KEY=${GOOGLE_API_KEY} # Load this key from .env in local/dev environment14 - CHROMA_DIR=${CHROMA_DIR} # Load this key from .env in local/dev environment15 - LANGFUSE_PUBLIC_KEY=${LANGFUSE_PUBLIC_KEY} # Load this key from .env in local/dev environment16 - LANGFUSE_SECRET_KEY=${LANGFUSE_SECRET_KEY} # Load this key from .env in local/dev environment17 - LANGFUSE_HOST=${LANGFUSE_HOST} # Load this key from .env in local/dev environment18 volumes:19 - .:/app:rw # This is for local development. Docker reads the code from the host machine. Changes on the host are reflected in the container.20 - ./chroma_db:/app/chroma_db # Persist Chroma DB. This is for local development. Docker reads the code from the host machine. Changes on the host are reflected in the container.21 restart: unless-stopped22 