Meteor-settings file in pm2-meteor

Hi everyone
I am using pm2-meteor to deploy my meteor app on ec2 ubuntu

I am facing following issues:

  1. could someone tell what should be inside meteor-settings file as mentioned in all config files
  2. I am getting the error MONGO_URL should be defined. If I define it, I get the error - can not create file/data/db/

Please help

Hi - for 1 I just put the string “{}” since my app does not have any. You get an error if you don’t have empty brackets.

To change 2 just put your deployment directory in your “home” path. For example “/home/username/appname/pm2-meteor”. Then you don’t have to worry about changing any permissions.