Giter Site home page Giter Site logo

Auth flag about run-rs HOT 8 OPEN

vkarpov15 avatar vkarpov15 commented on July 20, 2024 1
Auth flag

from run-rs.

Comments (8)

vkarpov15 avatar vkarpov15 commented on July 20, 2024

It's something we're planning on adding, but hasn't really been a priority. Out of curiosity, why is it a priority for you to secure a dev DB? Not saying you're wrong, just curious to hear your perspective

from run-rs.

Christilut avatar Christilut commented on July 20, 2024

Well I want to load real data in there and instead of putting effort into anonymizing the data I'd rather secure it. There's bots out there that just go after every IP address and test every default port, especially mongo since the default mongo installations have auth disabled.
I changed my ports of course but IP whitelisting is proving difficult because my server is on heroku which uses dynamic IP's.

from run-rs.

Christilut avatar Christilut commented on July 20, 2024

But honestly, I had runrs running for a few days and it worked fine but lately I've been getting strange errors and the primary clusters seems to go down repeatedly after 12+ hours of uptime. After messing with it (and other ways of getting a replicaset with auth running) I decided it costs me too much time to get it working and that an M10 instance on Atlas is maybe the best option after all.

from run-rs.

vkarpov15 avatar vkarpov15 commented on July 20, 2024

It sounds like your case is not what run-rs is designed for. Our goal is to make local dev and testing as easy as possible. As soon as you start worrying about uptime and securing customer data, you should look into MongoDB Atlas. I'll keep this open to track adding auth support though, that will be useful.

from run-rs.

Christilut avatar Christilut commented on July 20, 2024

Yeah you're right. I was kind of forced to do something like this because of this issue

from run-rs.

vkarpov15 avatar vkarpov15 commented on July 20, 2024

Thanks for the heads up, I've never seen that Atlas issue before. I opened up a Mongoose issue to look into it.

from run-rs.

ashisherc avatar ashisherc commented on July 20, 2024

would love to have auth flag, when running a dev cluster on a cloud VM

from run-rs.

rattrayalex avatar rattrayalex commented on July 20, 2024

It looks like Prisma requires auth for local dev: https://www.prisma.io/docs/concepts/database-connectors/mongodb

lack of this flag seems to make this project unusable for that…

from run-rs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.