yyx990803/pod

Environment variables not loaded

macpraveen opened this issue · 0 comments

pod/lib/api.js

Line 559 in 97a546c

conf[o] = appInfo.config[o]

should be

conf.env[o] = appInfo.config[o]

otherwise no environment variables are loaded apart from NODE_ENV and PORT.

I was referring this link http://pm2.keymetrics.io/docs/usage/environment/ and found that.

Using PM2 v2.10.2