Hey, what's up? I'm new to Prisma, and in my proje...
# orm-help
f
Hey, what's up? I'm new to Prisma, and in my project I'm trying to work with MongoDB as my provider. I had no problems to get all up and running using Mongo's Atlas cloud platform, but I couldn't do the same with a local instance of MongoDB, long history short, I couldn't figure out how to properly configure everything mannualy. If somebody here have any resources over this topic, or can help me with it, I would apreciate a lot 😁.
1
a
I think you need to run a local replica set rather than a single instance. Depending on your OS, search online for how to make a replica set in a local environment
s
That's right! You need to set up a replica set to work with MongoDB. Here's some resources on how to do that with Docker Compose https://blog.tericcabrel.com/mongodb-replica-set-docker-compose/amp/ https://github.com/prisma/prisma/issues/11925 https://github.com/prisma/prisma/blob/main/docker/docker-compose.yml Let me know if this helps!
f
Thanks guys, I'm gonna check it out 😁