chore: backup session 2026-06-01b — JupyterHub fix, Hermes Dashboard, OR mbtiles, Trino node.properties

Summary of changes:
- JupyterHub: fix DB path (absolute), Dockerfile cleanup, SimpleLocalProcessSpawner
- JupyterHub: user eric created as admin
- Hermes Dashboard WebUI + TUI chat service (systemd, localhost:9119, auto-boot)
- OR mbtiles: generated Martinique PNG tiles (5690 tiles, 10.9MB) — needs PBF for OR
- OR mbtiles: restored original PBF with corrected metadata (world bounds, Martinique center)
- OR mapsettings: verified center=[-61,14.5], bounds=Martinique, minZoom=0
- Trino: added node.properties (node.environment=production) — needs restart
- TODO.md: updated with current state
- session_resume_consolide.md: created (per-session summary)
This commit is contained in:
Eric FELIXINE
2026-05-30 08:14:47 -04:00
parent 008f1679ce
commit acdf250470
7 changed files with 248 additions and 46 deletions

View File

@@ -12,10 +12,8 @@ RUN pip install --no-cache-dir \
jupyterlab \
notebook
# Create the directory structure JupyterHub expects for DB
# JupyterHub joins data_files_path + dirname(db_path), so we create the composed path
RUN mkdir -p /srv/jupyterhub/srv/jupyterhub && \
chown -R 1000:1000 /srv/jupyterhub
# Create the directory for JupyterHub data
RUN mkdir -p /srv/jupyterhub && chown -R 1000:1000 /srv/jupyterhub
COPY jupyterhub_config.py /srv/jupyterhub/jupyterhub_config.py

View File

@@ -9,11 +9,12 @@ c.JupyterHub.authenticator_class = 'nativeauthenticator.NativeAuthenticator'
c.Authenticator.admin_users = {'admin'}
c.Authenticator.allow_all = True
# Spawner - use DockerSpawner or simple with correct cmd
c.JupyterHub.spawner_class = 'simple'
c.Spawner.cmd = ['jupyterhub-singleuser']
c.Spawner.http_timeout = 120
c.Spawner.start_timeout = 120
# Spawner use SimpleLocalProcessSpawner (default in JupyterHub 5.x)
# This spawner runs singleuser servers as subprocesses
c.JupyterHub.spawner_class = 'jupyterhub.spawner.SimpleLocalProcessSpawner'
c.Spawner.default_url = '/lab'
c.Spawner.http_timeout = 300
c.Spawner.start_timeout = 300
# Database and cookies - use absolute paths
c.JupyterHub.cookie_secret_file = '/srv/jupyterhub/jupyterhub_cookie_secret'