Read config from environment.