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