Commit 233effb1 authored by LETORT Sebastien's avatar LETORT Sebastien

Definition of a ALLGO_URL variable in jupyterhub container, and put it in the...

Definition of a ALLGO_URL variable in jupyterhub container, and put it in the whitelist to be used in the notebook.
parent ea23ac27
Pipeline #81420 passed with stages
in 7 minutes and 31 seconds
......@@ -64,6 +64,7 @@ services:
environment:
JUPYTERHUB_LOG_LEVEL: "debug"
JUPYTERHUB_JWT_KEY: "/certs/tokens.key"
ALLGO_URL: "https://dev-django"
# IFRAME_CSP: "http://localhost:8008" # we do not succeed in unsing it.
......
......@@ -489,7 +489,8 @@ c.JupyterHub.logo_file = '/srv/jupyterhub/allgo_logo.svg'
#c.Spawner.env_keep = ['PATH', 'PYTHONPATH', 'CONDA_ROOT', 'CONDA_DEFAULT_ENV', 'VIRTUAL_ENV', 'LANG', 'LC_ALL']
#c.Spawner.cmd = ['/opt/conda/bin/jupyterhub-singleuser']
c.Spawner.env_keep = ['PATH', 'PYTHONPATH', 'CONDA_ROOT', 'CONDA_DEFAULT_ENV', 'VIRTUAL_ENV', 'LANG','LC_ALL', 'ALLGO_TOKEN']
c.Spawner.env_keep = ['PATH', 'PYTHONPATH', 'CONDA_ROOT', 'CONDA_DEFAULT_ENV', 'VIRTUAL_ENV', 'LANG','LC_ALL',
'ALLGO_TOKEN', 'ALLGO_URL']
## Extra environment variables to set for the single-user server's process.
#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment