title: How to change the service name generated by Docker stack in docker-compose
body: <p>When deploying a stack of this compose file using:</p>
  
  <pre><code>docker stack deploy -c docker-compose.yml myapp
  
  service-name:
      image: service-image
      namelike-property: my-custom-service-name // here I would like to know the property
  </code></pre>
  
  <p>The generated service name will be <strong>myapp_service-name</strong></p>
  
  <p>I would want it to be named and referenced by <em>my-custom-service-name</em></p>