all update
This commit is contained in:
0
.gitignore
vendored
Normal file → Executable file
0
.gitignore
vendored
Normal file → Executable file
0
Dockerfile
Normal file → Executable file
0
Dockerfile
Normal file → Executable file
0
Dockerfile.jupyterhub
Normal file → Executable file
0
Dockerfile.jupyterhub
Normal file → Executable file
0
Dockerfile.jupyterhub.bak
Normal file → Executable file
0
Dockerfile.jupyterhub.bak
Normal file → Executable file
0
dhparam.pem
Normal file → Executable file
0
dhparam.pem
Normal file → Executable file
0
docker-compose.yml
Normal file → Executable file
0
docker-compose.yml
Normal file → Executable file
5
jupyterhub_config.py
Normal file → Executable file
5
jupyterhub_config.py
Normal file → Executable 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
0
jupyterhub_config.py.bak
Normal file → Executable file
0
micromamba_install.sh
Normal file → Executable file
0
micromamba_install.sh
Normal file → Executable file
0
nginx-selfsigned.crt
Normal file → Executable file
0
nginx-selfsigned.crt
Normal file → Executable file
0
nginx-selfsigned.key
Normal file → Executable file
0
nginx-selfsigned.key
Normal file → Executable file
0
nginx.conf
Normal file → Executable file
0
nginx.conf
Normal file → Executable file
0
spawnerdockerfile/Dockerfile
Normal file → Executable file
0
spawnerdockerfile/Dockerfile
Normal file → Executable file
0
spawnerdockerfile/Dockerfile.plot
Normal file → Executable file
0
spawnerdockerfile/Dockerfile.plot
Normal file → Executable file
17
spawnerdockerfile/docker-compose.yml
Executable file
17
spawnerdockerfile/docker-compose.yml
Executable 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
0
spawnerdockerfile/jupyter_server_config.py
Normal file → Executable file
Reference in New Issue
Block a user