title: Limit deployment of certain services with docker swarm/compose
body: <p>I have this compose file:</p>
  <pre class="lang-yaml prettyprint-override"><code>version: &quot;3.3&quot;
  
  services:
    icecc-scheduler:
      build: services/icecc-scheduler 
      restart: unless-stopped
      network_mode: host
  
    icecc-daemon:
      build: services/icecc-daemon    
      restart: unless-stopped
      network_mode: host
  </code></pre>
  <p>I then have a docker swarm configured with 5 machines, the one I'm on is the manager. When I deploy my stack I want the icecc-daemon container to be deployed to all nodes in the swarm while the icecc-scheduler is only deployed once (preferably to the swarm manager). Is there any way to have this level of control with docker compose/stack/swarm?</p>