I have a Raspberry pi cluster that I wanna manage. However, I changed the main port number to 5000 and I'm opening the UI from my laptop instead of the raspberry PI running my swarm manager.

After starting the container in a node and opened it in my browser, I can see that the UI app is trying to look for "localhost:8080".

Questions
It should be calling pimanager:5000 instead of localhost:8080.
- Is there an ENV var that I need to pass to make the UI call its container name instead of
localhost?