Vehicle-Diagnostic-Assistant / docker-compose.yml
castlebbs's picture
Use docker as there seem to be issues with the versions used in HF
b24787d
version: '3.8'
services:
vehicle-diagnostic-assistant:
build:
context: .
dockerfile: Dockerfile
container_name: vehicle-diagnostic-assistant
ports:
- "7860:7860"
environment:
# Add your API keys here or use a .env file
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY:-}
- NEBIUS_API_KEY=${NEBIUS_API_KEY:-}
restart: unless-stopped
healthcheck:
test: ["CMD", "python", "-c", "import requests; requests.get('http://localhost:7860')"]
interval: 30s
timeout: 10s
retries: 3
start_period: 5s
# Uncomment below to mount local files for development
# volumes:
# - ./:/app