Skip to content

Commit

Permalink
Update docker commands
Browse files Browse the repository at this point in the history
  • Loading branch information
TimoRoth committed May 20, 2022
1 parent 2315712 commit b36de29
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/explorer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,10 @@ 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:80 oggm/bokeh:20191210 git+https://github.com/OGGM/world-glacier-explorer.git app.ipynb
docker run -e BOKEH_ALLOW_WS_ORIGIN=127.0.0.1 -p 8083:8080 ghcr.io/oggm/bokeh:20220520 git+https://github.com/OGGM/world-glacier-explorer.git 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://127.0.0.1:8083/ <http://127.0.0.1:8083/>`_.

Possible future improvements
----------------------------
Expand Down
4 changes: 2 additions & 2 deletions docs/mb_simulator.rst
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,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=0.0.0.0:8080 -p 8080:8080 oggm/bokeh:20211010 git+https://github.com/OGGM/mb_simulator.git@stable app.ipynb
docker run -e BOKEH_ALLOW_WS_ORIGIN=127.0.0.1 -p 8084:8080 ghcr.io/oggm/bokeh:20220520 git+https://github.com/OGGM/mb_simulator.git@stable app.ipynb

Once running, you should be able to start the app in your browser at this
address: `http://0.0.0.0:8080/app <http://0.0.0.0:8080/app>`_.
address: `http://127.0.0.1:8084/app <http://127.0.0.1:8084/app>`_.
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=0.0.0.0:8080 -p 8080:8080 oggm/bokeh:20210130 git+https://github.com/OGGM/glacier_simulator.git@stable app.ipynb
docker run -e BOKEH_ALLOW_WS_ORIGIN=127.0.0.1 -p 8085: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://0.0.0.0:8080/app <http://0.0.0.0:8080/app>`_.
address: `http://127.0.0.1:8085/app <http://127.0.0.1:8080/app>`_.

0 comments on commit b36de29

Please sign in to comment.