move redis host config to a YAML file