Home Explore Blog CI



docker

1st chunk of `content/includes/compose/extension.md`
da9b4f51b63456f00c2b612eeaa63e309d91960f969e10e8000000010000013c
Extensions can be used to make your Compose file more efficient and easier to maintain. 
 
Use the prefix `x-` as a top-level element to modularize configurations that you want to reuse. 
Compose ignores any fields that start with `x-`, this is the sole exception where Compose silently ignores unrecognized fields.

Title: Compose File Extensions for Reusability
Summary
Compose files can be extended using the `x-` prefix for top-level elements to create reusable configurations. Compose ignores these `x-` prefixed fields, allowing for modular and maintainable Compose files.