Skip to content

feat(python-notebook-migration): add JupyterLab docker for notebook migration tool#5256

Open
zyratlo wants to merge 1 commit into
apache:mainfrom
zyratlo:migration-tool-jupyter-docker
Open

feat(python-notebook-migration): add JupyterLab docker for notebook migration tool#5256
zyratlo wants to merge 1 commit into
apache:mainfrom
zyratlo:migration-tool-jupyter-docker

Conversation

@zyratlo
Copy link
Copy Markdown
Contributor

@zyratlo zyratlo commented May 28, 2026

What changes were proposed in this PR?

Introduces the local JupyterLab docker that the upcoming notebook-migration microservice will talk to. Three files are added under notebook-migration-service/src/main/resources/:

  • DockerfileFROM jupyter/base-notebook:notebook-6.5.4; COPYs custom.js into /home/jovyan/.jupyter/custom/custom.js and fixes ownership.
  • docker-compose.yml — runs JupyterLab as texera-jupyter on host port 9100. Token/password auth disabled, XSRF check disabled, CSP set to allow frame-ancestors http://localhost:* so Texera can embed it in an iframe. Default URL is
    /tree.
  • custom.js — JupyterLab iframe customization. Posts cellClicked messages (with cell UUID) to window.parent and listens for triggerCellClick to scroll/highlight target cells.

Any related issues, documentation, discussions?

Closes #5255
Parent-issue #4301

How was this PR tested?

Verified locally that the stack comes up cleanly and Jupyter is reachable.

Was this PR authored or co-authored using generative AI tooling?

Generated-by: Claude Code (Claude Opus 4.7)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Notebook Migration] Add JupyterLab docker for notebook migration tool

1 participant