DB and environments configuration