DocumentDB - Open Source Document Database
Open source document database<br>DocumentDB<br>A powerful, scalable, fully MongoDB compatible open-source database built for modern applications<br>Open source and MIT licensed, with native BSON, advanced indexing, and vector search on PostgreSQL.<br>Get StartedDownloadView Docs<br>Built on PostgreSQLNative BSONMIT licensedRuns locally with Docker
Quick startRun locally with Docker<br>Start DocumentDB Local with Docker, then connect on port 10260.
DockerCopy<br>docker run -dt --name documentdb \<br>-p 10260:10260 \<br>ghcr.io/documentdb/documentdb/documentdb-local:latest \<br>--username \<br>--password
01Run DocumentDB Local with Docker.
02Connect on port 10260 with your app, shell, or client.
03Continue with the docs or Linux packages for the setup you need.
Docker quick startDownload packages
Capabilities<br>Core features for document workloads<br>From CRUD to vector search, all on PostgreSQL.
Foundation<br>Document + SQL<br>Native BSON support with full PostgreSQL compatibility when you need advanced SQL.<br>Native BSONAdvanced SQL
Indexing<br>Rich indexing<br>Single-field, multi-key, compound, text, and geospatial indexes, including nested fields.<br>Nested fieldsText + geo
AI<br>Vector search<br>Embeddings and similarity search powered by pgvector.<br>EmbeddingsSimilarity<br>Explore AI
Open source<br>Open and secure<br>MIT licensed with SCRAM authentication and a lightweight local runtime for development and testing.<br>MIT licensedSCRAM auth
Why DocumentDB<br>Document flexibility meets PostgreSQL confidence<br>Open-source control with the tools you already trust.
Native BSON<br>Built for document flexibility on PostgreSQL.
PostgreSQL foundation<br>Use advanced SQL, proven operations, and rich indexing when you need them.
Open and portable<br>MIT licensed, runs locally with Docker, and fits your own infrastructure or cloud.
Operator preview<br>DocumentDB Kubernetes Operator<br>Run DocumentDB on Kubernetes—from kind and minikube to hybrid and multi-cloud deployments.
Local clusters<br>Start on kind or minikube for local Kubernetes development.
Hybrid and multi-cloud<br>Use documented AKS, EKS, GKE, and on-prem deployment guides.
Replication and resilience<br>Extend to cross-cluster replication, HA, backups, and TLS.
Day-2 operations<br>Use the kubectl plugin for status, events, and promotion.
Preview with local, hybrid, and multi-cluster paths<br>The operator is still in preview. Start with the overview, then follow the quick start or multi-cluster guides.
Read operator overviewOpen quick start
Community<br>Built in the open<br>MIT licensed, active on GitHub, and guided by a technical steering committee that spans five organizations.
3.2k+<br>GitHub stars<br>on documentdb/documentdb
200+<br>Public forks<br>public on GitHub
11<br>TSC members<br>representing 5 organizations
Current TSC representation includes Microsoft, Amazon, AB InBev, Rippling, and YugabyteDB.
Press<br>In the press<br>What the industry is saying about DocumentDB.
The Register<br>Microsoft builds open source document database<br>YHacker News<br>DocumentDB Open-Source Discussion
Phoronix<br>Microsoft Announces Open-Source DocumentDB
Business Wire<br>YugabyteDB Extends Support for DocumentDB
Ready to try DocumentDB?<br>Start locally with Docker, then explore the project on GitHub.<br>Get StartedGitHub