var nconf = require('nconf');

nconf
  .file({ file: './config/config.json' })
  .env();

nconf.defaults({
  'RIPPLE_REST_API': 'http://localhost:5990',
  'DATABASE_URL': 'postgres://postgres:password@localhost:5432/ripple_gateway',
  'RIPPLE_DATAMODEL_ADAPTER': 'ripple-gateway-data-sequelize-adapter',
  'RIPPLE_EXPRESS_GATEWAY': 'ripple-gateway-express',
  'SSL': false,
  'PORT': 3000
});

module.exports = nconf;

var nconf = require('nconf');

nconf
  .file({ file: './config/config.json' })
  .env();

nconf.defaults({
  'RIPPLE_REST_API': 'http://localhost:5990',
  'DATABASE_URL': 'postgres://postgres:password@localhost:5432/ripple_gateway',
  'RIPPLE_DATAMODEL_ADAPTER': 'ripple-gateway-data-sequelize-adapter',
  'RIPPLE_EXPRESS_GATEWAY': 'ripple-gateway-express',
  'SSL': false,
  'PORT': 5000,
  'HOST': 'localhost'
});

module.exports = nconf;

Change default port to 5000 to match foreman.
[CHORE] Change default port to 5000 to match foreman.
