From f4ec65ce5010cb20aa0b957b702dbab2f1de8b8f Mon Sep 17 00:00:00 2001 From: stellarshenson Date: Fri, 18 Jul 2025 19:22:37 +0200 Subject: [PATCH] updated with examples for custom config --- README.md | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 0b418f7..06ba358 100755 --- a/README.md +++ b/README.md @@ -38,20 +38,21 @@ This stack uses [NativeAuthenticator](https://github.com/jupyterhub/nativeauthen ## Customisation You should customise the deployment by creating a `compose_override.yml` file. + +#### Custom configuration file Example below introduces custom config file `jupyterhub_config_override.py` to use for your deployment: + ```yaml -# Copyright (c) Jupyter Development Team. -# Distributed under the terms of the Modified BSD License. - services: - - # service for management of a series of users and their jupyterlab - # environments. it is internally managed via a proxy that redirects - # users to their dedicated environments jupyterhub: volumes: - ./config/jupyterhub_config_override.py:/srv/jupyterhub/jupyterhub_config.py:ro # config file (read only) ``` - - +#### Enable GPU +```yaml +services: + jupyterhub: + environment: + - GPU_SUPPORT_ENABLED=1 # enable NVIDIA GPU +```