Deploy CoDRAG's headless indexer to your CI/CD pipeline so your team shares a single, pre-built trace graph. Developers download it instantly instead of running LLMs locally.
Do you want to run LLMs locally/self-hosted (private, cheap)?
├── Yes → Use the GPU image + RunPod or Modal
│ See: runpod/ or modal/
└── No → Use the CPU image + your OpenAI/Anthropic key
See: github-actions/ (runs directly in Actions runner)
Is your codebase in a private VPC?
├── Yes → Use the GPU image on AWS ECS or Azure
│ See: aws/
└── No → Use RunPod or Modal (easiest)
codrag-deploy/
├── Dockerfile.cpu # Slim image: ONNX embeddings + BYOK LLM (~2-3 GB)
├── Dockerfile.gpu # Fat image: + Ollama + Qwen3:4b baked in (~8-10 GB)
├── github-actions/ # Reusable workflow for CI/CD trigger
│ └── codrag-sync.yml
├── modal/ # Modal.com serverless GPU adapter
│ └── modal_adapter.py
├── runpod/ # RunPod Serverless adapter
│ ├── Dockerfile.runpod
│ └── runpod_handler.py
└── aws/ # AWS ECS/Fargate reference
└── ecs-task-definition.json
- On push to
main: Your CI/CD runscodrag sync-headlessinside the headless Docker image. - The image: Clones your repo, runs the 10-stage enrichment pipeline, and uploads the index artifacts to your S3-compatible bucket.
- Your team: Each developer's local CoDRAG client downloads the index on startup. They only compute deltas for their uncommitted changes.
- A CoDRAG Team or Enterprise license.
- An S3-compatible storage bucket (Cloudflare R2, AWS S3, MinIO, Backblaze B2).
- One of:
- An OpenAI/Anthropic API key (for CPU+BYOK mode), or
- A RunPod/Modal account (for GPU+local LLM mode).
| Tag | Size | GPU | Use Case |
|---|---|---|---|
ghcr.io/ericbintner/codrag-headless:cpu |
~2-3 GB | No | GitHub Actions + BYOK |
ghcr.io/ericbintner/codrag-headless:gpu |
~8-10 GB | Yes | RunPod, Modal, AWS + local Ollama |
- Never commit S3 credentials to Git. Use GitHub Secrets, Modal Secrets, or RunPod environment variables.
- The
.codrag/team_config.jsonfile (committed to your repo) contains only the bucket endpoint, name, and prefix — no secrets. - Each developer provides read credentials via environment variables, a gitignored
.codrag/.secretsfile, or OS keychain.
- Team Sync Guide — Full setup walkthrough
- CoDRAG — Main product page
- Pricing — Team & Enterprise plans
