All I did was add the IP address of my digital drip server, not localhost, and it worked:
env: { ROOT_URL: 'http://yourdomain.com', MONGO_URL: 'mongodb://104.236.24.66:27017/meteor', PORT: 3002, },
EDIT: Use MUP to deploy your meteor projects: https://github.com/zodern/meteor-up
env: { ROOT_URL: 'https://www.example.com', MONGO_URL: 'mongodb://localhost/meteor', },
Mup uses Docker and will "bind" your 2 containers, thus placing both the application and mongo on the same virtual machine (server). For security reasons, your mongoDB should not be accessible from a public IP address.
Milean Apr 15 '17 at 16:42 on 2017-04-15 16:42
source share