How to connect to external MongoDB instance in Meteor?

前端 未结 3 623
被撕碎了的回忆
被撕碎了的回忆 2020-12-01 17:06

I would like to find out how to connect to an external MongoDB instance in Meteor.

I have added this environment

Meteor.startup(function () { 
proce         


        
3条回答
  •  春和景丽
    2020-12-01 17:46

    run it in command prompt:

     "MONGO_URL=mongodb://:@:/ meteor"
    

    or save this url in run.sh file in project folder and run meteor

提交回复
热议问题