What is ChromaDB?
Chroma is the vector store most people meet first: pip install chromadb, four lines of code, and your documents are searchable by meaning. Its server mode is the same API over HTTP - which is what this template deploys, so every notebook example you have ever run keeps working against a real persistent backend.
One container, one 10 GB volume, internal-only: Chroma ships without built-in auth, so the project network is the boundary (the same pattern as the MongoDB and Qdrant templates). Apps connect with chromadb.HttpClient(host="chroma", port=8000) and the JS client equivalently.
For prototypes graduating to something persistent - or teams that want their embeddings off third-party infrastructure - this is the lightest possible step up.
What you get
- The Chroma API your prototypes already use, in persistent server mode
- First-class Python and JavaScript clients
- Collections with metadata filtering and multiple distance functions
- Data persists on a 10 GB volume across redeploys
- Internal-only by default - no auth surface exposed
- Single container: the simplest vector store to operate
How it runs on Lyngbak
| Service | Role | Public |
|---|---|---|
chroma | Chroma server (HTTP :8000) | no (by design) |
Sizing and billing
1 GiB RAM is generous for hundreds of thousands of embeddings. Chroma keeps HNSW indexes in memory - scale RAM with collection count and size.
A resource is a flat monthly price, with RAM and disk add-ons when the stack needs a little more than a tier, and room for your own apps on a larger one. On Usage Billing each service takes the smallest size that fits it and is billed by the second it runs, so a stopped stack stops costing CPU and RAM. Its 9.77 GiB of volumes cost $0.15 per GiB a month ($1.47/mo) for as long as they exist. One workspace can use both. See pricing
Compared with the managed service
| Service | Plan | Price | Includes |
|---|---|---|---|
| Chroma Cloud | Starter (usage) | Usage-based | ~$0-5/mo small workloads (covered by $5 credit); Team tier $250/mo flat + usage |
Chroma Cloud’s usage pricing is genuinely cheap at small scale - self-hosting is about data locality and no per-query metering. Prices from each vendor's pricing page, June 2026.
Run it locally first
The same compose file runs with plain Docker Compose. Clone the template source, copy .env.example to .env, and run docker compose up -d.
Questions
How do I migrate from local Chroma to this server?
Change chromadb.PersistentClient(path=...) to chromadb.HttpClient(host="chroma", port=8000) in apps deployed to the same Lyngbak project. The collection API is identical; re-ingest or copy your data once.
Chroma Cloud vs self-hosting - when does each make sense?
Chroma Cloud is serverless and usage-priced, great for spiky or tiny workloads. Self-hosting here is 1 GiB of compute with no per-query metering - predictable for always-on apps, and your embeddings stay on your infrastructure.
Why is there no authentication on this template?
Chroma has no production-grade built-in auth, so the template keeps it private: no public domain, reachable only from apps in the same project. That is the correct posture - do not expose Chroma directly to the internet.
Is Chroma production-ready or just for prototypes?
Single-node Chroma serves real production loads at small-to-medium scale (hundreds of thousands to low millions of vectors). If you need clustering, quantization, or heavy filtering at scale, the Qdrant template in this catalogue is the natural next step.