Skip to content

Commit

Permalink
Update docker comment (#126)
Browse files Browse the repository at this point in the history
Changed BOKEH_ALLOW_WS_ORIGIN and the address to start the app in the browser
  • Loading branch information
pat-schmitt committed Sep 14, 2021
1 parent c9e8df4 commit 826929d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/simulator.rst
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ To start the app locally, all you'll need is to
have `Docker <https://www.docker.com/>`_ installed on your computer.
From there, run this command into a terminal::

docker run -e BOKEH_ALLOW_WS_ORIGIN=127.0.0.1 -p 8080:8080 oggm/bokeh:20210130 git+https://github.com/OGGM/glacier_simulator.git@stable app.ipynb
docker run -e BOKEH_ALLOW_WS_ORIGIN=0.0.0.0:8080 -p 8080:8080 oggm/bokeh:20210130 git+https://github.com/OGGM/glacier_simulator.git@stable app.ipynb

Once running, you should be able to start the app in your browser at this
address: `http://127.0.0.1:8080/ <http://127.0.0.1:8080/>`_.
address: `http://0.0.0.0:8080/app <http://0.0.0.0:8080/app>`_.

0 comments on commit 826929d

Please sign in to comment.