tweaked database config to run in production mode locally.