testcontainers-python icon indicating copy to clipboard operation
testcontainers-python copied to clipboard

feat: Add container for MongoDb Atlas Local

Open jeff-goddard opened this issue 3 months ago • 2 comments

Linked issue: https://github.com/testcontainers/testcontainers-python/issues/865

This adds a Mongo DB Atlas local container.

This works similarly to the Java container: https://java.testcontainers.org/modules/databases/mongodb/#mongodbatlaslocalcontainer

Like the java one, I added this into the same module as the normal Mongo container, but we can make it into its own module if this would be better.

Changes form standard mongo container:

  1. Use different environment variables for configuration
  2. Wait for the container healthcheck rather than the logs, as it takes a little longer for the search service to start.

jeff-goddard avatar Sep 10 '25 11:09 jeff-goddard

Any progress on this?

0xfabioo avatar Dec 01 '25 11:12 0xfabioo

Any progress on this?

I have rebased this change with updates from the main branch, still waiting on a review or guidance from the project if this approach is good.

jeff-goddard avatar Dec 10 '25 12:12 jeff-goddard