yaml: add more fleshed out YAML config and example