diff options
| author | Maarten Siersema <[email protected]> | 2020-06-19 17:45:16 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-06-19 11:45:16 -0400 |
| commit | 9efb299ac74732200377fd50762fca9c7d659770 (patch) | |
| tree | e029951f92fdde4ca15ae5b62194c2cd3863b1e8 | |
| parent | 19a736909bf830cdc2b0724959232b952865d579 (diff) | |
| download | caprover-one-click-apps-9efb299ac74732200377fd50762fca9c7d659770.tar.gz caprover-one-click-apps-9efb299ac74732200377fd50762fca9c7d659770.zip | |
Added JupyterLab one-click-app configuration (#190)
| -rw-r--r-- | public/v2/apps/jupyter-lab.json | 39 | ||||
| -rw-r--r-- | public/v2/logos/jupyter-lab.png | bin | 0 -> 9350 bytes |
2 files changed, 39 insertions, 0 deletions
diff --git a/public/v2/apps/jupyter-lab.json b/public/v2/apps/jupyter-lab.json new file mode 100644 index 0000000..f61f771 --- /dev/null +++ b/public/v2/apps/jupyter-lab.json @@ -0,0 +1,39 @@ +{ + "captainVersion": "2", + "documentation": "Read more at: https://jupyter-docker-stacks.readthedocs.io/", + "displayName": "JupyterLab", + "description": "JupyterLab is the next-generation user interface for Project Jupyter. It offers all the familiar building blocks of the classic Jupyter Notebook (notebook, terminal, text editor, file browser, rich outputs, etc.) in a flexible and powerful user interface.", + "dockerCompose": { + "version": "3.3", + "services": { + "$$cap_appname": { + "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" + ], + "restart": "always", + "environment": { + "JUPYTER_ENABLE_LAB": "yes" + }, + "volumes":[ + "$$cap_appname:/home/jovyan/" + ] + } + } + }, + "instructions": { + "start": "JupyterLab is the next-generation user interface for Project Jupyter.", + "end": "JupyterLab server is deployed and is available as $$cap_appname.\n\n IMPORTANT: Make sure to enable websocket capability in the app config on CapRover dashboard!" + }, + "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." + } + ] +} diff --git a/public/v2/logos/jupyter-lab.png b/public/v2/logos/jupyter-lab.png Binary files differnew file mode 100644 index 0000000..0f68d81 --- /dev/null +++ b/public/v2/logos/jupyter-lab.png |
