Surprised it didn't mention profiles, which let you launch only part of your "stack" (think background processing in addition to web app, etc)
https://docs.docker.com/compose/profiles/
Prior to that feature, I had a hand-rolled approach using bash scripts and using overrides. Worked well enough, but felt like a dirty dependency.