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

0
.gitignore vendored Normal file → Executable file
View File

0
Dockerfile Normal file → Executable file
View File

0
Dockerfile.jupyterhub Normal file → Executable file
View File

0
Dockerfile.jupyterhub.bak Normal file → Executable file
View File

0
README.md Normal file → Executable file
View File

0
dhparam.pem Normal file → Executable file
View File

0
docker-compose.yml Normal file → Executable file
View File

0
id_rsa Normal file → Executable file
View File

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"}
})

0
jupyterhub_config.py.bak Normal file → Executable file
View File

0
micromamba_install.sh Normal file → Executable file
View File

0
nginx-selfsigned.crt Normal file → Executable file
View File

0
nginx-selfsigned.key Normal file → Executable file
View File

0
nginx.conf Normal file → Executable file
View File

0
spawnerdockerfile/Dockerfile Normal file → Executable file
View File

0
spawnerdockerfile/Dockerfile.plot Normal file → Executable file
View File

View File

@@ -0,0 +1,17 @@
version: '3.8'
services:
molscribe:
build:
context: .
dockerfile: Dockerfile.base-notebook
image: hotwa/notebook:latest
container_name: notebook
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
# command: micromamba run -n molscribe jupyter notebook --ip=0.0.0.0 --NotebookApp.allow_origin='*' --debug --no-browser --NotebookApp.disable_check_xsrf=True --port=8888 --allow-root --NotebookApp.token='' --NotebookApp.password='' --log-level=DEBUG

0
spawnerdockerfile/jupyter_server_config.py Normal file → Executable file
View File