Skip to content

Commit 8e619e2

Browse files
committed
Updated configs + docker settings.
1 parent ac872be commit 8e619e2

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

config/jupyterhub_config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -317,8 +317,8 @@ def per_user_limit(role):
317317
#------------------------------------------------------------------------------
318318
# This is an application.
319319

320-
c.JupyterHub.pid_file = "/etc/jupyterhub/jupyter_hub.pid"
321-
c.ConfigurableHTTPProxy.pid_file = "/etc/jupyterhub/jupyter_hub_proxy.pid"
320+
c.JupyterHub.pid_file = "/srv/jupyterhub/jupyter_hub.pid"
321+
c.ConfigurableHTTPProxy.pid_file = "/srv/jupyterhub/jupyter_hub_proxy.pid"
322322

323323
# The date format used by logging formatters for %(asctime)s
324324
# Default: "%Y-%m-%d %H:%M:%S"

docker/docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
cogstack-jupyter-hub:
3-
image: cogstacksystems/jupyter-hub:latest-${CPU_ARCHITECTURE:-amd64}
3+
image: cogstacksystems/jupyter-hub:2.0.0-${CPU_ARCHITECTURE:-amd64}
44
container_name: cogstack-jupyter-hub
55
restart: always
66
environment:
@@ -22,8 +22,8 @@ services:
2222
- ../config/jupyterhub_cookie_secret:/srv/jupyterhub/jupyterhub_cookie_secret:ro
2323
# User list and jupyter config
2424
- ../config/jupyterhub_config.py:/srv/jupyterhub/jupyterhub_config.py:ro
25-
- ../config/userlist:/srv/jupyterhub/userlist:ro
26-
- ../config/teamlist:/srv/jupyterhub/teamlist:ro
25+
- ../config/userlist:/srv/jupyterhub/userlist:rw
26+
- ../config/teamlist:/srv/jupyterhub/teamlist:rw
2727
# Give access to Docker socket
2828
- /var/run/docker.sock:/var/run/docker.sock
2929
ulimits:

env/jupyter.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ DOCKER_NOTEBOOK_IDLE_TIMEOUT=7200
2828
# Persist hub data on volume mounted inside container
2929
# "./" all data within the user's folder is saved
3030
# DO NOT CHANGE
31-
DATA_VOLUME_CONTAINER="./"
31+
DATA_VOLUME_CONTAINER=""
3232

3333
# These don't really need to be changed.
3434
SSL_KEY="/srv/jupyterhub/root-ca.key"

0 commit comments

Comments
 (0)