GithubHelp home page GithubHelp logo

Comments (5)

14850842 avatar 14850842 commented on August 15, 2024

@appinteractive Firstly setup your admin users on your mongo instance. Then upgrade your mongo cluster add --auth to your startup command.

from catalog-dockerfiles.

appinteractive avatar appinteractive commented on August 15, 2024

Yeah I did it already and it worked. But to be honest that’s should be four fields to add a read write user and an admin user on first startup if not happened oder add a BIG warning to that to be aware of.

I know it’s not your fault that mongo Standard config is unsafe bur we should not letting run other people into it.

Hope you get my point and thanks for your package man! 🙂

from catalog-dockerfiles.

14850842 avatar 14850842 commented on August 15, 2024

Fully agree with you! Not my package but was setting this up also and found it strange that there was no option to secure the DB.

from catalog-dockerfiles.

micw avatar micw commented on August 15, 2024

Looks like there's already a pull request for this: #86 - but for some reason it's ignored...

from catalog-dockerfiles.

markqiu avatar markqiu commented on August 15, 2024

the cluseter has the following error after I add --auth:
Error in heartbeat request to 10.42.230.91:27017; Unauthorized: not authorized on admin to execute command { replSetHeartbeat: "rs0", configVersion: 5, from: "guchong-mongo-cluster-1:27017", fromId: 0, term: 2 }
Any idea?

from catalog-dockerfiles.

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.