added postgres and mongodb settings for local and heroku