Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't disable Mongo installing #37

Closed
mzygmunt opened this issue Jan 23, 2016 · 4 comments
Closed

I can't disable Mongo installing #37

mzygmunt opened this issue Jan 23, 2016 · 4 comments

Comments

@mzygmunt
Copy link

Hello,
Changing the option setupMongo from 1 to 0 does not affect the installation of Mongo. Despite it, Mongo is installed and configured on the server.

@arunoda
Copy link
Collaborator

arunoda commented Jan 23, 2016

@madushan1000 could you take a look at this. I think it seems like a bug.

@madushan1000
Copy link
Contributor

Note the mup.js format is changed a bit.

module.exports = {
  servers: {
    one: {
      host: '0.0.0.0',
      user: 'root'
    }
  },

  meteor: {
    name: 'app',
    path: './app',
    servers: {
      one: {}, two: {}, three: {}
    },
    env: {
      MONGO_URL: 'mongodb://localhost/meteor'
    },
  },

  mongo: {
    oplog: true,
    port: 27017,
    servers: {
      one: {},
    },
  },
  setupMongo: 1,
  deployCheckWaitTime: 20
};

@thani-sh
Copy link
Contributor

Can we do this without adding extra fields to mup.js? I guess we can check whether module.exports.mongo exists for that.

And the deployCheckWaitTime should go under meteor right?

@madushan1000
Copy link
Contributor

We can check for module.exports.mongo but what if someone needs to turn off mongo setup temporarily, but keep their mongo settings?
I think having deployCheckWaitTime under meteor is a little confusing, that's why I moved it to the project scope. We can move it back if you think it doesn't make sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants