How can I share MongoDB collections between Meteor apps?

export MONGO_URL=mongodb://localhost:3002/meteor

Then run meteor app, it will change the default database meteor uses. So share databases or collections won’t be a problem!
For administrative reason, I would use a individual MongoDB server managed by myself other than using meteor’s internal MongoDB.

Leave a Comment