We are deploying storm supervisor with docker container in docker swarm mode with replica 3. Now we want to access supervisor logs on through browser.
We have exposed port 8080 on which we can access storm UI. This is working fine. Now storm also exposes their log files on port 8000. As we have only one nimbus and 3 supervisor, accessing nimbus logs through port 8000 was pretty easy.
The problem we faced on supervisor which is deployed using docker swarm service. And in docker swarm service we cannot pass different port for different container.
currently docker swarm service exposes same port on all the container. What we really want is like
port container
8011 supervisor1:8000
8012 supervisor2:8000
8013 supervisor3:8000
How can we achieve this.
Thanks in advance.