JupyterLab on Railway
JupyterLab with the scientific Python stack and a persistent home volume, behind a password, on Railway.
JupyterLab is the web-based interface for Project Jupyter. It combines notebooks, a file browser, terminals and text editors in one workspace, and is the standard environment for exploratory data analysis, visualisation and machine-learning experiments in Python.
Hosting it on a server gives you a notebook with more memory than a laptop session, access to databases on a private network, and a remote kernel that VS Code or PyCharm can connect to. JupyterLab is a single-user server by design.
What JupyterLab can do
- Notebooks, terminals and editors in one interface
- pandas, NumPy, SciPy, scikit-learn, matplotlib, seaborn, statsmodels and Dask preinstalled
- Password login plus a token for IDEs and scripts
- Home directory on a persistent volume
- pip and conda environments that survive redeploys
- Idle kernel culling to limit memory
What people use it for
- Exploratory data analysis and visualisation
- Training and evaluating scikit-learn and statsmodels models
- Querying databases on a Railway private network from notebooks
- A remote Jupyter kernel for VS Code or PyCharm
Videos
Running JupyterLab on Railway
The template deploys one service built on the Jupyter Docker Stacks scipy-notebook image (JupyterLab 4.6.4, Python 3.13) with a volume mounted at /home/jovyan. Login uses a generated JUPYTER_PASSWORD, and JUPYTER_TOKEN covers IDEs and scripts. Measured memory was about 110 MB for the server and about 160 MB with one idle kernel; after that, cost follows the RAM your kernels hold.
JupyterLab templates on Railway
Tracklayer templates are listed first. Other JupyterLab templates follow, ordered by total deployments on Railway. How this works.
Deployment numbers as of 2026-11-20.
Questions about JupyterLab
How do I log in?
Open the service URL and enter JUPYTER_PASSWORD from the Variables tab. For an IDE, use the server URL with ?token= followed by JUPYTER_TOKEN.
Do my notebooks and packages persist?
Yes. Everything under /home/jovyan is on the volume, including pip installs in ~/.local and conda environments. Packages installed with sudo apt-get reset on redeploy.
Can a team share one instance?
It is a single-user server, so keep one replica. For a team, deploy one instance per person.
How do I keep memory use down?
Each open kernel keeps its data in RAM. Set JUPYTER_KERNEL_CULL_IDLE_TIMEOUT in seconds to shut down idle kernels.
How do I upgrade?
Change the BASE_IMAGE tag in the service Dockerfile to a newer weekly tag and redeploy. Reinstall ~/.local packages after a Python minor upgrade.
Guides
Similar apps
Tracklayer maintains the templates marked as such; JupyterLab is a trademark of its owners and this site is not affiliated with them.