init
This commit is contained in:
commit
4a90868bab
24
config.yml
Normal file
24
config.yml
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
hub:
|
||||||
|
config:
|
||||||
|
Authenticator:
|
||||||
|
admin_users:
|
||||||
|
- sarastro
|
||||||
|
allowed_users:
|
||||||
|
- valentin
|
||||||
|
db:
|
||||||
|
pvc:
|
||||||
|
storageClassName: local-path
|
||||||
|
singleuser:
|
||||||
|
profileList:
|
||||||
|
- display_name: "Default"
|
||||||
|
default: True
|
||||||
|
- display_name: "Custom start script"
|
||||||
|
kubespawner_override:
|
||||||
|
cmd: "/home/jovyan/start.sh"
|
||||||
|
storage:
|
||||||
|
dynamic:
|
||||||
|
storageClass: local-path
|
||||||
|
ingress:
|
||||||
|
enabled: true
|
||||||
|
ingressClassName: nginx
|
||||||
|
hosts: ["mimir.aztrom.fr"]
|
32
images/jupyterlab-python-lsp/Dockerfile
Normal file
32
images/jupyterlab-python-lsp/Dockerfile
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
FROM python:3.11-bookworm
|
||||||
|
|
||||||
|
ENV NB_USER=jovyan \
|
||||||
|
NB_UID=1000 \
|
||||||
|
HOME=/home/jovyan
|
||||||
|
|
||||||
|
RUN adduser \
|
||||||
|
--disabled-password \
|
||||||
|
--gecos "Default user" \
|
||||||
|
--uid ${NB_UID} \
|
||||||
|
--home ${HOME} \
|
||||||
|
--force-badname \
|
||||||
|
${NB_USER}
|
||||||
|
|
||||||
|
RUN apt-get update \
|
||||||
|
&& apt-get dist-upgrade --yes \
|
||||||
|
&& apt-get install --yes \
|
||||||
|
vim \
|
||||||
|
htop \
|
||||||
|
tini \
|
||||||
|
git \
|
||||||
|
&& apt-get clean
|
||||||
|
|
||||||
|
COPY requirements.txt /tmp/requirements.txt
|
||||||
|
RUN pip install -r /tmp/requirements.txt
|
||||||
|
|
||||||
|
WORKDIR ${HOME}
|
||||||
|
USER ${NB_USER}
|
||||||
|
|
||||||
|
EXPOSE 8888
|
||||||
|
ENTRYPOINT ["tini", "--"]
|
||||||
|
CMD ["jupyter", "lab"]
|
6
images/jupyterlab-python-lsp/requirements.txt
Normal file
6
images/jupyterlab-python-lsp/requirements.txt
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
jupyterhub==4.1.6
|
||||||
|
jupyterlab
|
||||||
|
nbclassic
|
||||||
|
nbgitpuller
|
||||||
|
jupyterlab-lsp
|
||||||
|
jedi-language-server
|
19
install.md
Normal file
19
install.md
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
# Installation
|
||||||
|
`helm repo add jupyterhub https://hub.jupyter.org/helm-chart/`
|
||||||
|
`helm repo update`
|
||||||
|
```
|
||||||
|
helm upgrade --cleanup-on-fail \
|
||||||
|
--install jupyterhub-mimir jupyterhub/jupyterhub \
|
||||||
|
--namespace mimir \
|
||||||
|
--create-namespace \
|
||||||
|
--version=3.3.8 \
|
||||||
|
--values config.yml
|
||||||
|
```
|
||||||
|
|
||||||
|
# Mise à jour
|
||||||
|
```
|
||||||
|
helm upgrade jupyterhub-mimir jupyterhub/jupyterhub \
|
||||||
|
--namespace mimir \
|
||||||
|
--version=3.3.8 \
|
||||||
|
--values config.yml
|
||||||
|
```
|
Loading…
x
Reference in New Issue
Block a user