diff options
| author | Kasra Bigdeli <[email protected]> | 2020-08-16 20:02:16 -0400 |
|---|---|---|
| committer | Kasra Bigdeli <[email protected]> | 2020-08-16 20:03:15 -0400 |
| commit | 0e70ec541e7441b71460db230975d4614473ed6d (patch) | |
| tree | 6e8bafcd18f41d09bc893dc75f36398a0c1f7dde /public/v4/apps/jupyter-lab.yml | |
| parent | 83103a180914dff274188594132c1395f12a1645 (diff) | |
| download | caprover-one-click-apps-0e70ec541e7441b71460db230975d4614473ed6d.tar.gz caprover-one-click-apps-0e70ec541e7441b71460db230975d4614473ed6d.zip | |
migrate to v4
Diffstat (limited to 'public/v4/apps/jupyter-lab.yml')
| -rw-r--r-- | public/v4/apps/jupyter-lab.yml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/public/v4/apps/jupyter-lab.yml b/public/v4/apps/jupyter-lab.yml new file mode 100644 index 0000000..491fa52 --- /dev/null +++ b/public/v4/apps/jupyter-lab.yml @@ -0,0 +1,31 @@ +captainVersion: 4 +services: + $$cap_appname: + restart: always + environment: + JUPYTER_ENABLE_LAB: yes + volumes: + - $$cap_appname:/home/jovyan/ + caproverExtra: + containerHttpPort: "8888" + dockerfileLines: + - FROM jupyter/datascience-notebook:9f9e5ca8fe5a + - RUN pip install lxml + - RUN jupyter notebook --generate-config + - RUN echo 'c.NotebookApp.token = "$$cap_jupyter_default_token"' >> /home/jovyan/.jupyter/jupyter_notebook_config.py + - EXPOSE 8888 +caproverOneClickApp: + variables: + - id: $$cap_jupyter_default_token + label: Jupyter default token + description: The default login token allows you to set a password within the application. For better experience leave empty and enable basic auth within the CaprRover dashboard. + instructions: + start: JupyterLab is the next-generation user interface for Project Jupyter. + end: >- + JupyterLab server is deployed and is available as $$cap_appname. + + IMPORTANT: Make sure to enable websocket capability in the app config on CapRover dashboard! + displayName: JupyterLab + isOfficial: true + description: JupyterLab is the next-generation user interface for Project Jupyter. It offers all the familiar building blocks of the classic Jupyter Notebook in a flexible and powerful user interface. + documentation: "Read more at: https://jupyter-docker-stacks.readthedocs.io/" |
