Update database.yml

to use mongodb and env vars