-
Notifications
You must be signed in to change notification settings - Fork 336
Description
What is the new container you'd like to have?
MongoDB Atlas is a local version of the MongoDB Atlas cloud database, which includes extra services like search/vector search
Why not just use a generic container for this?
The Mongo Atlas container uses a different wait strategy (using a CLI application to run a healthcheck instead of waiting for log messages). If we don;t use this wait strategy, search commands may fail on the atlas container until it is ready
It also uses different environment variables to configure the initial username and password. ( the regular image uses variable prefixed with MONGO_ and the atlas image uses variable prefixed with MONGODB_ )
This seems to trip up most people trying to set this up.
Other references:
I thought of adding this as there is already separate container for this in the Java TestContainers:
https://java.testcontainers.org/modules/databases/mongodb/#mongodbatlaslocalcontainer
This is added in the same module as the normal mongo container in Java:
I can also make a PR for this