Docker engine labels (for swarm constraints)

I have configured a single node docker swarm on my mac to try to understand deployment. The services in my docker-compose file specify some constraints regarding the nodes where they can be run. How do I specify engine labels in my docker for mac?