Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Docker stack
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
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
JupyterLab
R
Docker stack
Commits
165286b3
Verified
Commit
165286b3
authored
1 month ago
by
Olivier Benz
Browse files
Options
Downloads
Patches
Plain Diff
Set and use environment variable JUPYTER_PORT
parent
f7774e4d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
base/conf/jupyter/etc/jupyter/jupyter_server_config.py
+0
-1
0 additions, 1 deletion
base/conf/jupyter/etc/jupyter/jupyter_server_config.py
base/latest.Dockerfile
+4
-1
4 additions, 1 deletion
base/latest.Dockerfile
with
4 additions
and
2 deletions
base/conf/jupyter/etc/jupyter/jupyter_server_config.py
+
0
−
1
View file @
165286b3
...
...
@@ -11,7 +11,6 @@ from jupyter_core.paths import jupyter_data_dir
c
=
get_config
()
# noqa: F821 # type: ignore
c
.
ServerApp
.
ip
=
"
0.0.0.0
"
c
.
ServerApp
.
port
=
8888
#c.ServerApp.open_browser = False
# https://github.com/jupyter/notebook/issues/3130
...
...
This diff is collapsed.
Click to expand it.
base/latest.Dockerfile
+
4
−
1
View file @
165286b3
...
...
@@ -500,7 +500,10 @@ RUN sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master
COPY
--from=files /files /
COPY
--from=files /files/var/backups/skel ${HOME}
EXPOSE
8888
ARG
JUPYTER_PORT=8888
ENV
JUPYTER_PORT=${JUPYTER_PORT}
EXPOSE
$JUPYTER_PORT
## Configure container startup
ENTRYPOINT
["tini", "-g", "--", "start.sh"]
...
...
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