Skip to content
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

Dashboard not updating until container stops #5

Open
JC1738 opened this issue May 31, 2015 · 4 comments
Open

Dashboard not updating until container stops #5

JC1738 opened this issue May 31, 2015 · 4 comments

Comments

@JC1738
Copy link

JC1738 commented May 31, 2015

Thank you for the docker image. I was successfully able to get it up and running and then using the default project from shopify dashing template project and the command below noticed that the dashboard doesn't update. The only time I get the update is when I stop the docker container, then the web page updates the view just 1 to what I would expect it to be. It's like the refresh of the web page doesn't work while the container is running. Was wondering if you might have any hints on what could be wrong?

docker run -v=/Users/name/Documents/git/dash/dashboards:/dashboards -v=/Users/name/Documents/git/dash/widgets:/widgets -v=/Users/name/Documents/git/dash/jobs:/jobs -d -p 80:3030 frvi/dashing
@JC1738
Copy link
Author

JC1738 commented Jun 1, 2015

afterstop
whilerunning

@JC1738
Copy link
Author

JC1738 commented Jun 1, 2015

Also note that the same thing happens without specifying any volumes, so just the default container settings and run.sh

@JC1738
Copy link
Author

JC1738 commented Jun 1, 2015

I think i found my problem, reproduced using a modified docker image, then fixed it by: Shopify/dashing#193 (comment)

Using webrick instead of thin as the web server allows events to go through.

rackup -p 3030 -s webrick

@frvi
Copy link
Owner

frvi commented May 9, 2016

Hi @JC1738,

Sorry for extremely late answer... Is this still an issue for you? I couldn't reproduce it, i e the container works out of the box for me.

docker run -ti -p 3030:3030 --rm frvi/dashing, and then point my browser to localhost:3030 and the example dashboard does update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants