I would like to use my own MongoHQ database to use when deploying a Meteor app using meteor deploy
. The documentation explains how to do this when deploying and running on a machine I control:
$ PORT=3000 MONGO_URL=mongodb://localhost:27017/myapp node bundle/main.js
But the documentation seems a bit sparse on how to do this with meteor deploy
. Is it possible?
EDIT: I tried following http://docs.meteor.com/#meteor_settings and added a settings.json file and put in it:
{"MONGO_URL" : "mongodb://user:pass@mongohq.com:10000/mydatabase"}
then deployed with
meteor deploy myappname.meteor.com --settings settings.json
but the deployed version doesn't seen to be using my database