-
Notifications
You must be signed in to change notification settings - Fork 7
/
common.yaml
92 lines (80 loc) · 2.97 KB
/
common.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# jupyterhub/data/common.yaml
---
jupyterhub::python3::version: "3.12"
jupyterhub::kernel::venv::python: "3.12"
jupyterhub::notebook::version: 6.5.7
jupyterhub::jupyterhub::version: 4.1.6
jupyterhub::pamela::version: 1.2.0
jupyterhub::batchspawner::version: 1.3.0
jupyterhub::slurmformspawner::version: 2.7.0
jupyterhub::jupyterhub_traefik_proxy::version: 2.0.0
jupyterhub::jupyterlab::version: 4.3.0
jupyterhub::jupyterlmod::version: 5.2.1
jupyterhub::jupyterlab_nvdashboard::version: 0.11.0
jupyterhub::jupyter_server_proxy::version: 4.4.0
jupyterhub::jupyter_rsession_proxy::version: 2.2.1
jupyterhub::idle_culler::version: 1.4.0
jupyterhub::oauthenticator::version: 14.2.0
jupyterhub::announcement::version: 0.9.2
jupyterhub::pammfauthenticator::version: 1.3.1
jupyterhub::oauth2freeipa::version: 1.2.8
jupyterhub::announcement::port: 8888
jupyterhub::announcement::fixed_message: ''
jupyterhub::announcement::lifetime_days: 7
jupyterhub::announcement::persist_path: /var/run/jupyterhub/announcements.json
jupyterhub::jupyter_desktop_server::url: https://github.com/cmd-ntrf/jupyter-desktop-server/archive/refs/tags/v0.3.0.zip
jupyterhub::kernel::setup: module
jupyterhub::kernel::venv::python3: "%{lookup('jupyterhub::python3::path')}/%{lookup('jupyterhub::python3::bin')}"
jupyterhub::jupyterhub_config_hash:
SlurmFormSpawner:
ui_args:
lab:
name: JupyterLab
notebook:
name: Jupyter Notebook
url: '/tree'
terminal:
name: Terminal
url: '/terminals/1'
SbatchForm:
ui:
choices: ['notebook', 'lab', 'terminal']
def: 'lab'
jupyterhub::jupyter_notebook_config_hash:
NotebookNotary:
db_file: ':memory:'
FileManagerMixin:
use_atomic_writing: false
Lmod:
launcher_pins: ['desktop']
ServerProxy:
servers:
code-server:
command: ["code-server", "--auth=none", "--disable-telemetry", "--host=127.0.0.1", "--port={port}"]
timeout: 30
launcher_entry:
title: VS Code
enabled: true
openrefine:
command: ["refine", "-i", "127.0.0.1", "-p", "{port}", "-x", "refine.headless=true"]
timeout: 60
launcher_entry:
title: OpenRefine
enabled: true
jupyterhub::submit::additions: |
# Make sure Jupyter does not store its runtime in the home directory
export JUPYTER_RUNTIME_DIR=${SLURM_TMPDIR}/jupyter
# Disable variable export with sbatch
export SBATCH_EXPORT=NONE
# Avoid steps inheriting environment export
# settings from the sbatch command
unset SLURM_EXPORT_ENV
# Setup user pip install folder
export PIP_PREFIX=${SLURM_TMPDIR}
export PATH="${PIP_PREFIX}/bin":${PATH}
export PYTHONPATH=${PYTHONPATH}:"/opt/jupyterhub/lib/usercustomize"
# Make sure the environment-level directories does not
# have priority over user-level directories for config and data.
# Jupyter core is trying to be smart with virtual environments
# and it is not doing the right thing in our case.
export JUPYTER_PREFER_ENV_PATH=0