This repository contains the configuration files and setup scripts for deploying a JupyterHub instance on a ThinkStation with GPU support. The setup uses Docker to manage the JupyterHub environment and its dependencies.
-
Clone the repository to your local machine:
git clone https://github.com/cnr-isti-vclab/thinkstation-setup.git
-
Navigate to the cloned directory:
cd thinkstation-setup -
Run the setup script to create necessary directories, set permissions, pull Docker images, and start the JupyterHub service:
./setup.sh
-
To access the Portainer interface, open your web browser and navigate to
http://localhost:9000. You can log in with the default credentials (admin/admin) and change them after the first login. -
To access JupyterHub, open your web browser and navigate to
http://localhost:8000.- Log in with the
adminusername to create new user accounts. You can create additional users as needed.
- Log in with the
JupyterHub data and user directories are located at /data/jupyterhub on the host machine. This directory is mounted as a volume in the Docker container, allowing JupyterHub to read and write user data and configurations.
JupyterHub data is stored in the jupyterhub_data Docker volume, which is also mounted to the container. This setup ensures that user data persists even if the container is recreated.
Portainer data is stored in the portainer_data Docker volume, which is mounted to the Portainer container. This allows Portainer to maintain its state and configurations across container restarts.