Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
nomad-remote-tools-hub
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nomad-lab
nomad-remote-tools-hub
Commits
0575dcd8
Commit
0575dcd8
authored
3 years ago
by
Sherjeel Shabih
Browse files
Options
Downloads
Patches
Plain Diff
Removed password req when accessing new jupyter
parent
0eb5d2e0
No related branches found
No related tags found
1 merge request
!16
Removed password req when accessing new jupyter
Pipeline
#112001
passed
3 years ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
north/app/routes/instances.py
+4
-1
4 additions, 1 deletion
north/app/routes/instances.py
with
4 additions
and
1 deletion
north/app/routes/instances.py
+
4
−
1
View file @
0575dcd8
...
@@ -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
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment