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

Merge branch 'no-password-req-for-jupyter' into 'develop'

Removed password req when accessing new jupyter

See merge request !16
parents f08929cb 0575dcd8
Branches
Tags
1 merge request!16Removed password req when accessing new jupyter
Pipeline #112185 passed
......@@ -114,7 +114,10 @@ async def post_instances(request: Request, instance: InstanceModel, token=Depend
docker_client.containers.run(
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}')},
detach=True,
name=container_name,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment