Skip to content
AI INFRASTRUCTURE

RAG Production Stack

Open-source retrieval stack: nine core services, authentication, network isolation, metrics, logs, traces and encrypted backups.

RAG Production Stack public repository documentation
CURRENT SCOPE

Source-reconciled infrastructure

WHO IT'S FOR

Independent build

My own retrieval infrastructure repository. Documents configuration and source intent, not a live deployment.

THE ENGINEERING

Containerized retrieval infrastructure with nine core services and fourteen profile-activated services, authentication, network isolation, metrics/logs/traces and encrypted-backup workflows. Published as MIT-licensed open source, with hosted Gitleaks, Semgrep and Bandit checks passing. The documentation establishes configuration and source intent; it does not claim a currently healthy deployment or compliance certification.

DockerLightRAGObservability

BEFORE → AFTER

Real problems from this build, what I changed and the verified result.

  1. CASE 01
    Before

    Most RAG setups stop at 'it works on localhost', with no auth, observability or scanning story.

    After

    9 core services with source-defined health checks, plus 14 profile-activated services.

    How I fixed it

    Wrapped the engine with authenticated access, network isolation, metrics/logs/traces and profile-activated scanning.

  2. CASE 02
    Before

    The repository needed to be safe to publish.

    After

    Historical, staged and public-tree secret scans found no matches before publication.

    How I fixed it

    Removed secrets, machine-specific paths and cloud identifiers, replaced them with environment variables, and excluded scanner output from version control.

  3. CASE 03
    Before

    The documentation claimed more than the stack actually did.

    After

    Docs that match the source, which matters most for a security-focused project.

    How I fixed it

    Reconciled the docs against the actual service definitions and split core from on-demand services.

Evidence reviewed: Open-source public edition, September 24, 2026