Docker-compose with buildx?

Hi
Is it possible to build mult-iplatform images with docker-compose or different target platform from development?
I develop and test containerised code on MacOS, need final images for linux/x86-64 and linux/arm/v7.
Buildx for single images work fine. I have tried to set buildx as a default builder - docker buildx install, how can I pass platform arguments to it? THanks