@kevdog , I might have small question on which I can’t find answer easily (probably wrong search queries made from my end).
In your example, you’ve
syncthing-discosvr:
<<: *modern_tls
Which uses reference anchor used earlier:
modern: &modern_tls
Question is how to use such reference across different yaml files?
I like to keep app related settings within single files for easy portability and as above section defines default which I want to apply to other apps/traefik services, question is how to use that reference to modern_tls defined in different file?
Error occurred during watcher callback: ... yaml: unknown anchor 'modern_tls' referenced"
I have a feeling that it won’t work: https://yaml.org/spec/1.2-old/spec.html#id2765878
Is there any other way to keep definitions in one place and re-use in other files?