put environment variables in the database.yml configuration file

@basdewachter