Nowaday I just ask genAI to convert docker-compose to one of the above options and it almost always works.
UPD: hmm, seems quite promising - https://chat.mistral.ai/chat/1d8e15e9-2d1a-48c8-be3a-856254e...