Tanabodee Limpaitoon commited on
Update start_server.sh
Browse files- start_server.sh +4 -4
start_server.sh
CHANGED
|
@@ -1,9 +1,7 @@
|
|
| 1 |
#!/bin/bash
|
| 2 |
-
JUPYTER_TOKEN="${JUPYTER_TOKEN:=
|
| 3 |
|
| 4 |
-
NOTEBOOK_DIR="
|
| 5 |
-
|
| 6 |
-
jupyter labextension disable "@jupyterlab/apputils-extension:announcements"
|
| 7 |
|
| 8 |
jupyter-lab \
|
| 9 |
--ip 0.0.0.0 \
|
|
@@ -13,6 +11,8 @@ jupyter-lab \
|
|
| 13 |
--ServerApp.token="$JUPYTER_TOKEN" \
|
| 14 |
--ServerApp.tornado_settings="{'headers': {'Content-Security-Policy': 'frame-ancestors *'}}" \
|
| 15 |
--ServerApp.cookie_options="{'SameSite': 'None', 'Secure': True}" \
|
|
|
|
|
|
|
| 16 |
--ServerApp.disable_check_xsrf=True \
|
| 17 |
--LabApp.news_url=None \
|
| 18 |
--LabApp.check_for_updates_class="jupyterlab.NeverCheckForUpdate" \
|
|
|
|
| 1 |
#!/bin/bash
|
| 2 |
+
JUPYTER_TOKEN="${JUPYTER_TOKEN:=Civices01}"
|
| 3 |
|
| 4 |
+
NOTEBOOK_DIR="$HOME"
|
|
|
|
|
|
|
| 5 |
|
| 6 |
jupyter-lab \
|
| 7 |
--ip 0.0.0.0 \
|
|
|
|
| 11 |
--ServerApp.token="$JUPYTER_TOKEN" \
|
| 12 |
--ServerApp.tornado_settings="{'headers': {'Content-Security-Policy': 'frame-ancestors *'}}" \
|
| 13 |
--ServerApp.cookie_options="{'SameSite': 'None', 'Secure': True}" \
|
| 14 |
+
--ServerApp.iopub_data_rate_limit=10000000.0 \
|
| 15 |
+
--ServerApp.rate_limit_window=5.0 \
|
| 16 |
--ServerApp.disable_check_xsrf=True \
|
| 17 |
--LabApp.news_url=None \
|
| 18 |
--LabApp.check_for_updates_class="jupyterlab.NeverCheckForUpdate" \
|