COMPOSE-SPEC(1)

πŸ“¦ version 2.9.1, in ubuntu stonking

πŸ’… COMPOSE-SPEC(1) β€” bestie edition πŸ’…

okay so. this is the man page for compose-spec, a General Commands Manual situation. it validates that your compose file actually conforms to the Compose Specification. yes. that one. the vibe check for your docker-compose.yml, if you will. πŸ”₯


✨ NAME ✨

compose-spec β€” Validates a compose file conforms to the Compose Specification πŸŽ€

like. it reads your compose file and goes "mhm mhm, this is valid" or "bestie… no." and honestly? we need that. we all need that. 🫢


🌸 SYNOPSIS 🌸

compose-spec [OPTIONS] COMPOSE_FILE [COMPOSE_OVERRIDE_FILE]

so it's giving: you give it your COMPOSE_FILE, you can also give it a COMPOSE_OVERRIDE_FILE as a little bonus second file (optional, she's flexible πŸ’…), and then a pile of [OPTIONS] up front to tweak the whole experience. iconic structure ngl.


πŸ’– OPTIONS πŸ’–

  • -format string β€” the output format. it picks between yaml and json, written like (yaml|json). and the default? "yaml", no cap. so if you don't say anything, you get yaml. that's just the vibe she woke up in today. ✨
  • -no-consistency β€” says: don't check model consistency. like, let the model be a mess, we're not gonna judge. πŸ’€
  • -no-interpolation β€” says: don't interpolate environment variables. the env vars stay as they are, untouched, unbothered, minding their business. πŸ™ˆ
  • -no-normalization β€” says: don't normalize compose model. no smoothing, no tidying, no glow-up. just the raw thing. πŸ¦‹
  • -no-path-resolution β€” says: don't resolve file paths. the paths stay exactly how you typed them, we're not going on a little journey to find where they actually live. ⭐
pro tip bestie: notice literally every single one of these is a "don't do the thing" flag. she's an opt-out girlie. she does all the checks by default and you take them away one by one. that's the whole personality. periodt. πŸ‘‘

🧚 a lil sign-off 🧚

that's the whole page, bestie! everything you need, nothing extra, all facts intact, all checks intact. go validate something. you got this. πŸ’œ

compose-spec Β· 2025-10-19 🌈 πŸ“ ⭐

πŸ“¦ where this page comes from