-
Notifications
You must be signed in to change notification settings - Fork 574
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UI calling localhost:8080 - Raspberry PI #36
UI calling localhost:8080 - Raspberry PI #36
Comments
Wouldn't the UI call the right URL here? https://github.com/ManoMarks/docker-swarm-visualizer/blob/master/src/utils/request.js#L4 |
If you're in a bind use an SSH tunnel to pimanager as a work-around.
I don't remember getting this issue when testing on my Pi though (and I wasn't on localhost). Have you tried rebuilding from source? |
I think this is due to a change in the code since my fork. Check out the README on my work - I pass an environmental variable with the name of the host. Maybe you're not doing that? https://github.com/alexellis/docker-swarm-visualizer Example: |
@alexellis I think the only thing that needs to be done is to push the latest version :D Just built locally and everything is good... Could you push the latest version? You don't need to pass the environment variables, given that the Web UI builds the UI based on the browser's location at https://github.com/ManoMarks/docker-swarm-visualizer/blob/master/src/utils/request.js#L4
|
Just pushed the version I built... https://hub.docker.com/r/marcellodesales/docker-swarm-visualizer/
|
Can you keep the issue open until I've had a chance to push a new tag i.e. On 2 November 2016 at 15:06, Marcello de Sales notifications@github.com
Regards, Alex Ellis |
@marcellodesales Please can you try the 0.3 tag of my image? |
@alexellis sure! I'm in the office now... I will try to use the |
Thanks - 0.3 is an alias of latest, but I'm trying to push distinct versions as well as maintain :latest. |
@alexellis Thanks for looking into this. Maybe we should look at autobuilds? |
@ManoMarks I would prefer that, but are auto-builds available for ARM on the Docker Hub now? (Last time I checked they were not) |
No it would have to happen some other way |
@alexellis yeah, I broke my build letting the the hub build my arm image... I had to push from Raspberry PI... Is there a raspberry pi cluster somewhere? :) |
I'm going to close this for lack of activity. Seems like it was resolved. |
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 oflocalhost:8080
.localhost
?The text was updated successfully, but these errors were encountered: