Skip to content

Commit ccec30c

Browse files
committed
Small fixes
1 parent e0749c4 commit ccec30c

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

README.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,17 @@ sudo docker build -t openanalytics/shinyproxy-jupyter-datascience .
3333
Create a ShinyProxy configuration file (see [application.yml](application.yml) for a complete file)
3434

3535
```yaml
36-
- id: jupyter-notebook-lab
37-
display-name: Jupyter Notebook Lab
38-
description: Jupyter Notebook running in lab mode.
39-
container-cmd: ["start-notebook.sh", "--NotebookApp.token=''", "--NotebookApp.base_url=#{proxy.getRuntimeValue('SHINYPROXY_PUBLIC_PATH')}"]
40-
container-image: openanalytics/shinyproxy-jupyter-datascience
41-
container-volumes: [ "/tmp/jupyter/#{proxy.userId}/work:/home/jovyan/work"]
42-
port: 8888
43-
websocket-reconnection-mode: None
44-
target-path: "#{proxy.getRuntimeValue('SHINYPROXY_PUBLIC_PATH')}"
36+
proxy:
37+
specs:
38+
- id: jupyter-notebook-lab
39+
display-name: Jupyter Notebook Lab
40+
description: Jupyter Notebook running in lab mode.
41+
container-cmd: ["start-notebook.sh", "--NotebookApp.token=''", "--NotebookApp.base_url=#{proxy.getRuntimeValue('SHINYPROXY_PUBLIC_PATH')}"]
42+
container-image: openanalytics/shinyproxy-jupyter-datascience
43+
container-volumes: [ "/tmp/jupyter/#{proxy.userId}/work:/home/jovyan/work"]
44+
port: 8888
45+
websocket-reconnection-mode: None
46+
target-path: "#{proxy.getRuntimeValue('SHINYPROXY_PUBLIC_PATH')}"
4547
```
4648
4749
Note: this will mount `/tmp/jupyter/#{proxy.userId}` as the workspace for

0 commit comments

Comments
 (0)