configure app to get env for DB settings