dockerfile-dashing
dockerfile-dashing copied to clipboard
Dashboard not updating until container stops
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
Also note that the same thing happens without specifying any volumes, so just the default container settings and run.sh
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
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.