docker swarm mode multiple services same port
<p>Suppose you have two services on your topology</p>

<ol>
<li>API</li>
<li>Web Interface</li>
</ol>

<p>Both suppose to be running on port 80.</p>

<p>On docker swarm when you create a service if you wanna to access it outside the cluster you need to expose and map the port from the service to the nodes (external ports). But if you map port 80 to lets say API service then you cant map the same port for Web Interface service since it will be already mapped.</p>

<p>How can this be solve?</p>

<p>As far as i see this use case is not supported. Even though if you wanna to have a big swarm cluster and through in there all your services and applications will not be possible because this behavior.</p>

<p>I'm missing something?</p>

<p>Any pattern to solve this?</p>