Open source document database

DocumentDB

Built for document workloads. Powered by PostgreSQL.

Open source and MIT licensed, with native BSON, advanced indexing, and vector search on PostgreSQL.

Built on PostgreSQLNative BSONMIT licensedRuns locally with Docker
Quick start

Run locally with Docker

Start DocumentDB Local with Docker, then connect on port 10260.

Docker
docker run -dt --name documentdb \
  -p 10260:10260 \
  ghcr.io/documentdb/documentdb/documentdb-local:latest \
  --username <YOUR_USERNAME> \
  --password <YOUR_PASSWORD>
  1. 01

    Run DocumentDB Local with Docker.

  2. 02

    Connect on port 10260 with your app, shell, or client.

  3. 03

    Continue with the docs or Linux packages for the setup you need.

Capabilities

Core features for document workloads

From CRUD to vector search, all on PostgreSQL.

Foundation

Document + SQL

Native BSON support with full PostgreSQL compatibility when you need advanced SQL.

Native BSONAdvanced SQL

Indexing

Rich indexing

Single-field, multi-key, compound, text, and geospatial indexes, including nested fields.

Nested fieldsText + geo

AI

Vector search

Embeddings and similarity search powered by pgvector.

EmbeddingsSimilarity

Open source

Open and secure

MIT licensed with SCRAM authentication and a lightweight local runtime for development and testing.

MIT licensedSCRAM auth

Why DocumentDB

Document flexibility meets PostgreSQL confidence

Open-source control with the tools you already trust.

Native BSON

Built for document flexibility on PostgreSQL.

PostgreSQL foundation

Use advanced SQL, proven operations, and rich indexing when you need them.

Open and portable

MIT licensed, runs locally with Docker, and fits your own infrastructure or cloud.

Operator preview

DocumentDB Kubernetes Operator

Run DocumentDB on Kubernetes—from kind and minikube to hybrid and multi-cloud deployments.

Local clusters

Start on kind or minikube for local Kubernetes development.

Hybrid and multi-cloud

Use documented AKS, EKS, GKE, and on-prem deployment guides.

Replication and resilience

Extend to cross-cluster replication, HA, backups, and TLS.

Day-2 operations

Use the kubectl plugin for status, events, and promotion.

Preview with local, hybrid, and multi-cluster paths

The operator is still in preview. Start with the overview, then follow the quick start or multi-cluster guides.

Community

Built in the open

MIT licensed, active on GitHub, and guided by a technical steering committee that spans five organizations.

3.2k+

GitHub stars

on documentdb/documentdb

200+

Public forks

public on GitHub

11

TSC members

representing 5 organizations

Current TSC representation includes Microsoft, Amazon, AB InBev, Rippling, and YugabyteDB.

Microsoft
Amazon
Rippling
YugabyteDB
AB InBev

Ready to try DocumentDB?

Start locally with Docker, then explore the project on GitHub.