Self-host Jupyter Notebook (latest) with Levelrail

A Jupyter Notebook server for interactive Python data work, protected by a generated access token.

  • Memory512 MiB
  • Archarm64
  • Services1

How to self-host Jupyter Notebook (latest)

  1. Pull the images

    One image is pulled on your server.

    Show images
    • quay.io/jupyter/base-notebook:latest
  2. Create the app

    One service starts in a single Compose app, with 1 named volume mount for your data, on port 8888.

  3. Fill in the secrets

    1 secret is generated and stored encrypted, you do not have to fill in anything.

  4. Open it

    Without a domain the app gets an sslip.io address; add --domain SERVICE=HOST to use your own.

Jupyter Notebook (latest) requirements

Memory
About 512 MiB
Architectures
amd64 image published, arm64 image published
Ports
8888
Domain
Optional, an sslip.io address is used without one
Settings
none to fill in
License
not yet recorded
  • Listed. It is in the catalog but not verified. Back up the data volume before changing an image tag.
  • Host ports. It publishes port 8888 on the host, so open them in the VPS firewall only if you want that.
  • Review. Image is not pinned to a version tag, so a redeploy can pull different code (quay.io/jupyter/base-notebook:latest).

Install Levelrail first

On a server with Levelrail running, run the command above, or open the dashboard: Apps, New app, Browse templates, then Jupyter Notebook (latest). New to Levelrail? Install it on a fresh VPS first.

docker pull ghcr.io/glincker/levelrail:latest

Then levelrail-cli login --device. See Getting started and the Jupyter Notebook (latest) docs page.

Deploy Jupyter Notebook (latest) your way

Every format below deploys the same pinned images. Pick the one that fits how you work.

Deploy Jupyter Notebook (latest) from the CLI

levelrail-cli templates deploy jupyter-notebook --name my-jupyter-notebook

Deploy Jupyter Notebook (latest) with the API

Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove.

curl -X POST -H "Authorization: Bearer $TOKEN" \
  https://levelrail.example.com/api/v1/service-templates/jupyter-notebook/deploy

Jupyter Notebook (latest) configuration

Jupyter Notebook (latest) services

ServiceImagePortsVolumes
jupyter quay.io/jupyter/base-notebook:latest 8888 jupyter_work -> /home/jovyan/work

Jupyter Notebook (latest) environment variables

VariableServiceValue
JUPYTER_TOKEN jupyter Generated at deploy

Ports and volumes

Ports
8888
Volumes
1 named mount: jupyter_work -> /home/jovyan/work

Jupyter Notebook (latest) FAQ

How much memory does Jupyter Notebook (latest) need?

The catalog lists about 512 MiB of memory for Jupyter Notebook (latest).

Does Jupyter Notebook (latest) run on arm64?

For Jupyter Notebook (latest), an arm64 image is published; amd64 is image published.

Does Jupyter Notebook (latest) need configuration before it starts?

No. The template fills in its own defaults and generates secrets at deploy time.

Which ports does Jupyter Notebook (latest) use?

Jupyter Notebook (latest) listens on port 8888 inside the stack.

Where does Jupyter Notebook (latest) keep its data?

In a named volume: jupyter_work mounted at /home/jovyan/work.

Can I deploy Jupyter Notebook (latest) on Dokploy or Dokku?

The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list we compared does not have an entry with the same id for Jupyter Notebook (latest), so on Dokploy you would use a Docker Compose application with the file from this page. Dokku deploys container images with its own commands, so the pinned image quay.io/jupyter/base-notebook:latest is what you deploy there.

levelrail-cli templates deploy jupyter-notebook --name my-jupyter-notebook