Rancher-compose scheduler "always run one instance of this container per host"?

Hello everyone,

Maybe I am not reading the documentation correctly, but I just cannot find how to schedule a services
to run similarly to the “always run once instance of this container per host” found in the web GUI.

Can someone point me how to do this with rancher-compose?

Ugh… found my answer. http://docs.rancher.com/rancher/rancher-compose/scheduling/#global-service

Thanks!

If you ever have issues finding out what the equivalent docker-compose is. You can create the service in Rancher and there are different stack views. One of the views is viewing the equivalent docker-compose.yml and rancher-compose.ymls.