mirror of
https://github.com/stellarshenson/stellars-jupyterhub-ds.git
synced 2026-03-08 06:00:29 +00:00
- RenameUserHandler: PATCH /hub/api/users/{username}/rename
preserves NativeAuthenticator authorization on rename
- ENABLE_SIGNUP env var controls self-registration (default: 1)
- Updated README, compose.yml, Dockerfile with new config
Traefik Host-Based Routing Template
Template for deploying stellars-jupyterhub-ds with local Traefik reverse proxy and self-signed certificates.
Quick Start
-
Copy this folder to create a new deployment:
cp -r extra/traefik-host-based-routing /path/to/<name>_stellars_jupyterhub_ds cd /path/to/<name>_stellars_jupyterhub_ds -
Generate certificates for your domain:
./generate-certs.sh yourdomain.example.com -
Edit
compose_override.yml- replaceYOURDOMAINwith your domain -
Start:
./start.sh
Structure
<name>_stellars_jupyterhub_ds/
compose_override.yml # Local Traefik + JupyterHub config
start.sh # Pull latest + start services
stop.sh # Stop services
generate-certs.sh # Certificate generation script
certs/
tls.yml # Traefik TLS configuration
_.yourdomain.example.com/ # Generated wildcard cert
cert.pem # Certificate (import to browser)
key.pem # Private key
stellars-jupyterhub-ds/ # Cloned repository (gitignored)
Configuration
Edit compose_override.yml to customize:
- Domain name (replace
YOURDOMAINplaceholder) - Ports (default: 80/443)
- Network name
- Additional services
Access
After deployment:
- JupyterHub: https://jupyterhub.yourdomain.example.com/
- Traefik: https://traefik.yourdomain.example.com
Import certs/_.<domain>/cert.pem to browser for trusted HTTPS.
Commands
./start.sh # Pull latest + start services
./stop.sh # Stop all services
To view logs:
docker compose -f stellars-jupyterhub-ds/compose.yml -f compose_override.yml logs -f jupyterhub