> defeating the whole "it just runs everywhere" premise.
Straight up 100% hard agree.
> It goes without saying that Docker Compose only works on a single host, so that won't work for Prod if you need more than one host, but single-host-everything seems to be HN's current fetish)
technically this is only correct for compose file versions up to and including 3.8.
Part of the push with the new mainline compose V2 plugin has included the updated compose specification [0] which seems to have unify quite a lot of differences between the "compose" file for compose deployments and the "stack" file for swarm deployments.
FYI You can switch over to the new version with the compose V2 plugin by remvoing any `version` key from your compose file.
Although the `deploy: restart_policy:` values are currently not unified, much to my sadness.
[0]: https://docs.docker.com/compose/compose-file/