From dccd14d6ccb9eecc42f080936e40fc11c08da5f8 Mon Sep 17 00:00:00 2001 From: stellarshenson Date: Thu, 7 Aug 2025 22:42:12 +0200 Subject: [PATCH] updated env variables --- config/jupyterhub_config.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/jupyterhub_config.py b/config/jupyterhub_config.py index cb4cf0f..b131037 100644 --- a/config/jupyterhub_config.py +++ b/config/jupyterhub_config.py @@ -49,6 +49,8 @@ NETWORK_NAME = os.environ["DOCKER_NETWORK_NAME"] # gpu support: 0 - disabled, 1 - enabled, 2 - autodetect if ENABLE_GPU_SUPPORT == 2 and NVIDIA_DETECTED: ENABLE_GPU_SUPPORT = 1 # means - gpu enabled +elif ENABLE_GPU_SUPPORT == 2 and not NVIDIA_DETECTED + ENABLE_GPU_SUPPORT = 0 # means - disable # ensure that we are using SSL, it should be enabled by default if ENABLE_JUPYTERHUB_SSL == 1: