Home Explore Blog CI



docker

content/includes/compose/extension.md
3fd4b0dbea58eea25e984b978bfbcee982a8b7309341ca2e000000030000013c
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.

Chunks
da9b4f51 (1st chunk of `content/includes/compose/extension.md`)
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.