Docker Swarm uses compose files too.
Swarm is still used and maintained, though I agree it is much smaller than k8s.
But that's not a reason to dismiss it I think. I went for it because it's so easy to use that if I need to migrate off of it, I would not loose a lot of investment in it anyway.