summaryrefslogtreecommitdiffhomepage
path: root/public/v4/apps/jupyter-lab.yml
diff options
context:
space:
mode:
authorKasra Bigdeli <[email protected]>2020-08-16 19:24:26 -0400
committerKasra Bigdeli <[email protected]>2020-08-16 19:24:26 -0400
commit43505a20e85a0f38f700e91e7456b33aa32224a1 (patch)
tree3d3ab8ddbe5b022a1c838f7805c919c47a45f435 /public/v4/apps/jupyter-lab.yml
parent2b5f8234fdb7557e0d25dbab974d85b6b347c94c (diff)
downloadcaprover-one-click-apps-43505a20e85a0f38f700e91e7456b33aa32224a1.tar.gz
caprover-one-click-apps-43505a20e85a0f38f700e91e7456b33aa32224a1.zip
migrated to v4
Diffstat (limited to 'public/v4/apps/jupyter-lab.yml')
-rw-r--r--public/v4/apps/jupyter-lab.yml36
1 files changed, 36 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..f203fb6
--- /dev/null
+++ b/public/v4/apps/jupyter-lab.yml
@@ -0,0 +1,36 @@
+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/"