Use compose and swarm for simple static and robust setup

Referring to the official tutorial here: I’m not sure how this setup would react to restarting individual hosts being part of the cluster.

I’m not really interested in clustering/elasticity options, rather a simple-to maintain and robust solution for static multi-host system.

The individual containers can be automatically started using docker’s restart policies. However, if the orchestration and potentially networking is bound to the swarm, even when restarted there still is a problem.

Can anybody point me to the right direction? Thanks.