diff --git a/.env b/.env index d974f28..58784ec 100755 --- a/.env +++ b/.env @@ -41,4 +41,3 @@ DOCKER_SPAWN_CMD=start-singleuser.sh # you can print the password for this hub-admin user with 'bash show_login.sh' USERNAME=hub-admin PASSWORD_LENGTH=6 -HUB_LOC=/home/pilosovm/hub diff --git a/jupyterhub_config.py b/jupyterhub_config.py index 678b1c5..1fa2e8a 100755 --- a/jupyterhub_config.py +++ b/jupyterhub_config.py @@ -1,5 +1,6 @@ # Copyright (c) Jupyter Development Team. # Distributed under the terms of the Modified BSD License. +# Major edits by MathematicalMichael(.com) 02-2019 # Configuration file for JupyterHub import os @@ -82,7 +83,7 @@ spawn_cmd = os.environ.get('DOCKER_SPAWN_CMD', "start-singleuser.sh") c.DockerSpawner.extra_create_kwargs.update({ 'command': spawn_cmd }) # Memory limit -c.Spawner.mem_limit = '50G' # RAM limit +c.Spawner.mem_limit = '4G' # RAM limit c.Spawner.cpu_limit = 0.0001 # Connect containers to this Docker network