- Add VRE directory with JupyterHub + Zeppelin docker-compose configs - Add Gravitino, Flink, Kafka, MinIO, Trino lakehouse stack - Add Superset, Metabase, StarRocks analytics tools - Session reprise après crash 2026-06-01 Infrastructure: 86 conteneurs total Known issues: Kafka (no ZK conn), Trino (node.env null), JupyterHub (DB path)
32 lines
857 B
Python
32 lines
857 B
Python
# JupyterHub configuration for Smart City VRE
|
|
|
|
c.JupyterHub.ip = '0.0.0.0'
|
|
c.JupyterHub.port = 8000
|
|
c.JupyterHub.hub_ip = '0.0.0.0'
|
|
|
|
# Authenticator: Native (username/password signup + login)
|
|
c.JupyterHub.authenticator_class = 'nativeauthenticator.NativeAuthenticator'
|
|
c.Authenticator.admin_users = {'admin'}
|
|
c.Authenticator.allow_all = True
|
|
|
|
# Spawner
|
|
c.JupyterHub.spawner_class = 'simple'
|
|
c.Spawner.cmd = ['jupyterhub-singleuser']
|
|
c.Spawner.default_url = '/lab'
|
|
|
|
# Database and cookies
|
|
c.JupyterHub.cookie_secret_file = '/srv/jupyterhub/jupyterhub_cookie_secret'
|
|
c.JupyterHub.db_url = 'sqlite:///jupyterhub.sqlite'
|
|
|
|
# Base URL
|
|
c.JupyterHub.base_url = '/'
|
|
|
|
# Trust forwarded headers from Traefik
|
|
c.JupyterHub.tornado_settings = {
|
|
'headers': {
|
|
'Content-Security-Policy': "frame-ancestors 'self'"
|
|
}
|
|
}
|
|
|
|
c.JupyterHub.shutdown_on_logout = False
|