version: "3.8" services: backend: build: context: ./backend dockerfile: Dockerfile ports: - "8000:8000" environment: - ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY:-} - DATABASE_URL=sqlite:////app/backend/debugger.db volumes: - backend_data:/app/backend healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8000/api/health"] interval: 30s timeout: 10s retries: 3 start_period: 10s frontend: build: context: ./frontend dockerfile: Dockerfile ports: - "80:80" depends_on: - backend environment: - VITE_API_BASE_URL=/api volumes: backend_data: