Fixed: Startup building time
This commit is contained in:
@@ -15,3 +15,13 @@ services:
|
||||
- ../nbgrader/exchange:/srv/nbgrader/exchange
|
||||
- ../nbgrader/courses:/srv/nbgrader/courses
|
||||
|
||||
# Just the Hacky way to pull images at startup
|
||||
# It just pulls the image but they wont startup
|
||||
# speeds up first spawn dramatically
|
||||
base:
|
||||
image: jupyter/base-notebook:latest
|
||||
entrypoint: ['echo hi']
|
||||
|
||||
datasciene:
|
||||
image: jupyter/datasciene-notebook:latest
|
||||
entrypoint: ['echo hi']
|
||||
|
@@ -88,6 +88,9 @@ c.JupyterHub.spawner_class = DockerSpawner
|
||||
# Spawn Containers from this Image
|
||||
c.DockerSpawner.image = os.environ.get("NOTEBOOK_IMAGE", "jupyter/base-notebook:latest")
|
||||
|
||||
# Spawn this "version" of the Notebook
|
||||
c.DockerSpawner.default_url = os.environ.get("SPAWNER_DEFAULT_URL", "/tree")
|
||||
|
||||
# Connect Containers to this network
|
||||
network_name = os.environ.get("DOCKER_NETWORK_NAME", "stack_default")
|
||||
# Let docker manage network communications
|
||||
|
Reference in New Issue
Block a user