Read settings from the environment.