version: '3.8' services: v0-openai-api: build: . ports: - "8000:8000" environment: - V0_API_KEY=${V0_API_KEY} - V0_API_BASE_URL=${V0_API_BASE_URL:-https://api.v0.dev/v1} - HOST=0.0.0.0 - PORT=8000 - DEBUG=${DEBUG:-true} env_file: - .env restart: unless-stopped healthcheck: test: ["CMD", "python", "-c", "import requests; requests.get('http://localhost:8000/health')"] interval: 30s timeout: 10s retries: 3 start_period: 10s