Compare commits

..

2 Commits

Author SHA1 Message Date
Aleksandr Melnikov
7ae4e1373a Merge pull request #797 from rushtehrani/fix/jupyterlab-data-dir
fix: Set jupyterlab workingDir to /data
2020-12-16 12:33:02 -08:00
rushtehrani
01040a72d1 set jupyterlab workingDir to data 2020-12-16 11:16:19 -08:00

View File

@@ -3,6 +3,7 @@ containers:
- name: jupyterlab
image: onepanel/jupyterlab:1.0.1
command: ["/bin/bash", "-c", "pip install onepanel-sdk && start.sh LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64 jupyter lab --LabApp.token='' --LabApp.allow_remote_access=True --LabApp.allow_origin=\"*\" --LabApp.disable_check_xsrf=True --LabApp.trust_xheaders=True --LabApp.base_url=/ --LabApp.tornado_settings='{\"headers\":{\"Content-Security-Policy\":\"frame-ancestors * \'self\'\"}}' --notebook-dir='/data' --allow-root"]
workingDir: /data
env:
- name: tornado
value: "'{'headers':{'Content-Security-Policy':\"frame-ancestors\ *\ \'self'\"}}'"