Monday, December 30, 2024

How to run mongo atlas vector DB locally?

Its pretty much easy, 

docker pull mongodb/mongodb-atlas-local:latest

docker run -p 27017:27017 mongodb/mongodb-atlas-local


Below is connection string without and with authentication 

mongosh "mongodb://localhost:27017/?directConnection=true"

mongosh "mongodb://user:pass@localhost:27017/?directConnection=true"


references:

https://www.mongodb.com/docs/atlas/cli/current/atlas-cli-deploy-docker/

No comments:

Post a Comment