YAML lets you store multiple separate documents inside a single file using --- to split them. Perfect for configs with different environments, or bulk configs like Docker Compose & Kubernetes.
📝 Example: Multi-Document YAML
Split documents will appear here...
💡 Pro Tip: Use multi-docs when dealing with systems like Docker Compose, Kubernetes manifests, or bulk config setups.
📚 Summary
--- separates documents inside a YAML file
... (optional) marks the end of a document
Each document can be a totally separate YAML config
Ideal for bundling related configs in one clean file