YAML supports Anchors, References and Extned. I have so far used References, however the rest did not work.
Sample from the link above:
---
foo: &anchor
K1: "One"
K2: "Two"
bar:
<<: *anchor
K2: "I Changed"
K3: "Three"
{
"foo": {
"K1": "One",
"K2": "Two"
},
"bar": {
"K1": "One",
"K2": "I Changed",
"K3": "Three"
}
}
How can we use YAML Extend inside docker-compose file?
