simplified db environment config