Docker Swarm and Elasticsearch

Hi,

Is there an example I can follow to setup Elasticsearch running on Docker Swarm? I am able to run Elasticsearch with Docker-Compose (single node). However, I am having a hard time to make Elasticsearch working on Docker Swarm (multiple nodes).

Any help will be much appreciated.