Skip to content
Snippets Groups Projects
Commit 0575dcd8 authored by Sherjeel Shabih's avatar Sherjeel Shabih
Browse files

Removed password req when accessing new jupyter

parent 0eb5d2e0
No related branches found
No related tags found
1 merge request!16Removed password req when accessing new jupyter
Pipeline #112001 passed
...@@ -121,7 +121,10 @@ async def post_instances(request: Request, instance: InstanceModel, current_user ...@@ -121,7 +121,10 @@ async def post_instances(request: Request, instance: InstanceModel, current_user
docker_client.containers.run( docker_client.containers.run(
image="jupyter/datascience-notebook", image="jupyter/datascience-notebook",
command=f'start-notebook.sh --NotebookApp.base_url={path}', command=(
f'start-notebook.sh --NotebookApp.base_url={path}'
' --NotebookApp.token="" --NotebookApp.password=""'
),
ports={"8888": int(f'1000{channel}')}, ports={"8888": int(f'1000{channel}')},
detach=True, detach=True,
name=container_name, name=container_name,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment