Use environment variables for connecting to db.