Merge pull request #3956 from yokowasis/jupyterlab-template
Jupyterlab Notebook Template
This commit is contained in:
33
templates/compose/jupyterlab.yaml
Normal file
33
templates/compose/jupyterlab.yaml
Normal file
@@ -0,0 +1,33 @@
|
||||
# documentation: https://jupyterlab.readthedocs.io/en/latest/
|
||||
# slogan: JupyterLab Notebook with C++ (xeus-cling) and Javascript (Deno) Kernel
|
||||
# tags: jupyter,notebook,python,cpp,deno,jupyterlab
|
||||
# logo: svgs/jupyterlab.svg
|
||||
# port: 8008
|
||||
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
jupyterlab:
|
||||
image: yokowasis/jupyterlab
|
||||
expose:
|
||||
- 8008
|
||||
environment:
|
||||
- SERVICE_FQDN_JUPYTERLAB
|
||||
- PORT=${PORT:-8008}
|
||||
- TOKEN=${SERVICE_PASSWORD_TOKEN}
|
||||
- CONDA_PACKAGES=${CONDA_PACKAGES:-pandas numpy matplotlib seaborn scikit-learn pytorch nltk openpyxl category_encoders scikit-learn tensorflow spacy}
|
||||
- PIP_PACKAGES=${PIP_PACKAGES:-sastrawi}
|
||||
volumes:
|
||||
- jupyterlab_data:/home/mambauser/data
|
||||
healthcheck:
|
||||
test:
|
||||
[
|
||||
"CMD",
|
||||
"curl",
|
||||
"-f",
|
||||
"http://127.0.0.1:8008/login/",
|
||||
]
|
||||
timeout: 5s
|
||||
interval: 5s
|
||||
retries: 3
|
||||
|
||||
Reference in New Issue
Block a user