Skip to content

Add DocumentDB Integration #1020

@runxc1

Description

@runxc1

Related to an existing integration?

Yes

Existing integration

Postgres

Overview

DocumentDB https://github.com/documentdb/documentdb/ is basically Postgres but exposes a MongoDB port in addition to the Postgres port. It really feels like this should be a small addon to the Postgres integration. It is a single dockerfile (no longer requires FerretDB) and could benefit from being able to use extensions in the Postgres provider namely WithPgAdmin, WithDatabase etc. The product is supported in Azure as well.

Usage example

var docdb = builder.AddDocumentDB("postgresmongo").WithPgAdmin();

Breaking change?

No

Alternatives

There really isn't a good alternative way, you can add a Container and expose ports but the existing postgres functionality to create a database as well as use PgAdmin would all have to be re-created. Would be a small addition to the existing Postgres provider

Additional context

No response

Help us help you

Yes, but only if others can assist

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions