A example for running your microservices. You just need to checkout this code and run:
vagrant up
I tested it on Windows 10 with Vagrant and VirtualBox. Any issue, please report to me. Thank you.
After that, you can test with link: http://172.20.20.10
Default access via SSH for all nodes user/pass: thanhson1085/password
For unstanding about this source code, please read the series of post: Microservices with Docker Swarm and Consul