DeveloperDocs_RAG / docker-compose.yml
Aishwarya30998's picture
Deploy DeveloperDocs-AI-Copilot-RAG to Hugging Face Space
14f13a5
raw
history blame contribute delete
603 Bytes
version: '3.8'
services:
developerdocs-copilot:
build: .
container_name: developer-docs-copilot
ports:
- "7860:7860"
env_file:
- .env
volumes:
# Mount vector DB for persistence
- ./data/vectordb:/app/data/vectordb
# Mount for live code changes during development
- ./src:/app/src
- ./app.py:/app/app.py
environment:
- PYTHONUNBUFFERED=1
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:7860/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 60s