all update

This commit is contained in:
2024-05-25 11:18:16 +08:00
parent 0af46b7c0c
commit a162b38603
18 changed files with 20 additions and 2 deletions

5
jupyterhub_config.py Normal file → Executable file
View File

@@ -70,9 +70,10 @@ if admin:
# "environment": {"JUPYTER_ENABLE_LAB": "yes"}
# })
# 启动jupyter时候增加跨域支持
# 启动jupyter时候增加跨域支持, 否则反向代理的时候出现问题
# --NotebookApp.iopub_data_rate_limit=10000000 给nglview使用
c.DockerSpawner.extra_create_kwargs.update({
"environment": {"NOTEBOOK_ARGS": "--NotebookApp.allow_origin='*'"}
"environment": {"NOTEBOOK_ARGS": "--NotebookApp.allow_origin='*' --NotebookApp.iopub_data_rate_limit=10000000"}
})