Skip to content

Conversation

timheuer
Copy link
Member

@timheuer timheuer commented Feb 5, 2024

Addresses #1920 by adding mongo-express to the MongoDB extensions (with resource tests)

Some notes:

  • Mongo Express cannot handle multiple hosts (support connecting to multiple hosts mongo-express/mongo-express#458) at this time so there is a diff express instance per mongodb instance (no shared admin)
  • Basic auth is used on the admin portal using default creds for mongo-express (should this be configurable in the extension method?)
  • Uses the endpoint port instead of the direct container port to handle reliable connection within the bridge docker network
Microsoft Reviewers: Open in CodeFlow

@ghost ghost added the area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication label Feb 5, 2024
PR feedback

Co-authored-by: David Fowler <[email protected]>
@timheuer timheuer marked this pull request as ready for review February 7, 2024 17:07
@davidfowl davidfowl merged commit 3a80354 into main Feb 8, 2024
@davidfowl davidfowl deleted the mongoexpress branch February 8, 2024 02:29
radical pushed a commit to radical/aspire that referenced this pull request Feb 9, 2024
* Adds Mongo Express to MongoDB builder extensions

* Move tests due to test refactor

* Simplify ctor

PR feedback

Co-authored-by: David Fowler <[email protected]>

---------

Co-authored-by: David Fowler <[email protected]>
@github-actions github-actions bot locked and limited conversation to collaborators Apr 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants