Skip to Content
Developer GuideSelf-HostingPrerequisites

Prerequisites

ClearSight requires three external services:

ServiceVersionPurpose
PostgreSQL16+Persistent storage for scans, issues, and summaries
Redis7+BullMQ job queue backing store
Azure OpenAIAI enrichment (fix suggestions, descriptions, scoring)

And the following on the host machine:

ToolVersion
Node.js20+
pnpm9+
Docker + Docker ComposeLatest stable (optional but recommended)

Azure OpenAI setup

ClearSight uses Azure OpenAI for AI enrichment. You need:

  1. An Azure subscription with an OpenAI resource created
  2. A deployed model (GPT-4o or GPT-4o-mini recommended)
  3. The full chat completions URL — it looks like:
    https://<resource>.openai.azure.com/openai/deployments/<model>/chat/completions?api-version=2025-01-01-preview
  4. An API key

The AZURE_OPENAI_ENDPOINT env var must be the complete URL above, including the deployment name and api-version query param. ClearSight uses it directly as the fetch target — it does not append any path.

If you don’t have Azure OpenAI, scans still work — they’ll fall back to heuristic scoring and skip AI-generated descriptions. Pages will be marked completed_partial.

Next steps

Last updated on