fixes path
This commit is contained in:
parent
ae9513d7a9
commit
4a7a37693e
1
.env
1
.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'
|
# you can print the password for this hub-admin user with 'bash show_login.sh'
|
||||||
USERNAME=hub-admin
|
USERNAME=hub-admin
|
||||||
PASSWORD_LENGTH=6
|
PASSWORD_LENGTH=6
|
||||||
HUB_LOC=/home/pilosovm/hub
|
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
# Copyright (c) Jupyter Development Team.
|
# Copyright (c) Jupyter Development Team.
|
||||||
# Distributed under the terms of the Modified BSD License.
|
# Distributed under the terms of the Modified BSD License.
|
||||||
|
# Major edits by MathematicalMichael(.com) 02-2019
|
||||||
|
|
||||||
# Configuration file for JupyterHub
|
# Configuration file for JupyterHub
|
||||||
import os
|
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 })
|
c.DockerSpawner.extra_create_kwargs.update({ 'command': spawn_cmd })
|
||||||
|
|
||||||
# Memory limit
|
# Memory limit
|
||||||
c.Spawner.mem_limit = '50G' # RAM limit
|
c.Spawner.mem_limit = '4G' # RAM limit
|
||||||
c.Spawner.cpu_limit = 0.0001
|
c.Spawner.cpu_limit = 0.0001
|
||||||
|
|
||||||
# Connect containers to this Docker network
|
# Connect containers to this Docker network
|
||||||
|
Loading…
Reference in New Issue
Block a user