dockerfile-dashing icon indicating copy to clipboard operation
dockerfile-dashing copied to clipboard

Dashboard not updating until container stops

Open JC1738 opened this issue 9 years ago • 4 comments

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 avatar May 31 '15 22:05 JC1738

afterstop whilerunning

JC1738 avatar Jun 01 '15 01:06 JC1738

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

JC1738 avatar Jun 01 '15 01:06 JC1738

I think i found my problem, reproduced using a modified docker image, then fixed it by: https://github.com/Shopify/dashing/issues/193#issuecomment-27314226

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

rackup -p 3030 -s webrick

JC1738 avatar Jun 01 '15 02:06 JC1738

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.

frvi avatar May 09 '16 09:05 frvi