diff --git a/TODO.md b/TODO.md
index ae15288f9914c92a7d966c2d64a501025903ce4f..027486357923a527995059598256fe745f3f5660 100644
--- a/TODO.md
+++ b/TODO.md
@@ -1,5 +1,4 @@
 
-- Add jupyter_config.py as a volume in docker-compose.yml 
 - Add userlist as a bind volume and use it in jupyterhub_config.py
 - Add an ansible playbook to create users for the non-gitlab auth
 - Documentation of jupyterhub-rstudio and jupyterhub-rstudio-gitlab
diff --git a/jupyterhub-minimal-notebook/docker-compose.yml b/jupyterhub-minimal-notebook/docker-compose.yml
index c70a342a0c5acffd0728d9905548496dd3ea9d18..f633397877017fe272a79cbf4d1320641a5da939 100644
--- a/jupyterhub-minimal-notebook/docker-compose.yml
+++ b/jupyterhub-minimal-notebook/docker-compose.yml
@@ -8,6 +8,7 @@ services:
     container_name: ${COMPOSE_PROJECT_NAME}_hub    # The service will use this container name.
     volumes:                         # Give access to Docker socket.
       - /var/run/docker.sock:/var/run/docker.sock
+      - ./jupyterhub/jupyterhub_config.py:/srv/jupyterhub/jupyterhub_config.py
     environment:                     # Env variables passed to the Hub process.
       DOCKER_JUPYTER_IMAGE: jupyter/minimal-notebook
       DOCKER_NETWORK_NAME: ${COMPOSE_PROJECT_NAME}_default
diff --git a/jupyterhub-minimal-notebook/jupyterhub/Dockerfile b/jupyterhub-minimal-notebook/jupyterhub/Dockerfile
index 16084e2607065484a6b2298fd7c0563ae1e1ad5a..54d7708d88f6eefd10ac23970950c71cf46a46ee 100644
--- a/jupyterhub-minimal-notebook/jupyterhub/Dockerfile
+++ b/jupyterhub-minimal-notebook/jupyterhub/Dockerfile
@@ -1,9 +1,6 @@
 # Do not forget to pin down the version
 FROM jupyterhub/jupyterhub:3.0.0
 
-# Copy the JupyterHub configuration in the container
-COPY jupyterhub_config.py .
-
 # Download script to automatically stop idle single-user servers
 # RUN wget https://raw.githubusercontent.com/jupyterhub/jupyterhub/0.9.3/examples/cull-idle/cull_idle_servers.py
 
diff --git a/jupyterhub-rstudio-gitlab/jupyterhub/Dockerfile b/jupyterhub-rstudio-gitlab/jupyterhub/Dockerfile
index 0baf272fc79651247bc837cf72633d2193b247b4..0bd8dcca7b81ae6f8dd183f365e1dcf5fb068dec 100644
--- a/jupyterhub-rstudio-gitlab/jupyterhub/Dockerfile
+++ b/jupyterhub-rstudio-gitlab/jupyterhub/Dockerfile
@@ -1,13 +1,9 @@
 # Do not forget to pin down the version
 FROM jupyterhub/jupyterhub:3.0.0
 
-# Copy the JupyterHub configuration in the container
-COPY jupyterhub_config.py .
-
 # Download script to automatically stop idle single-user servers
 # RUN wget https://raw.githubusercontent.com/jupyterhub/jupyterhub/0.9.3/examples/cull-idle/cull_idle_servers.py
 
 # Install dependencies (for advanced authentication and spawning)
 RUN pip3 install --no-cache dockerspawner oauthenticator
-#    dockerspawner==0.10.0 \
-#    oauthenticator==0.8.0
+
diff --git a/jupyterhub-rstudio/docker-compose.yml b/jupyterhub-rstudio/docker-compose.yml
index 58fa01215198757ac322677569944d06fae716cd..2e11b6ea71a231b4da6fba9434c67bd6e3b42760 100644
--- a/jupyterhub-rstudio/docker-compose.yml
+++ b/jupyterhub-rstudio/docker-compose.yml
@@ -8,6 +8,7 @@ services:
     container_name: ${COMPOSE_PROJECT_NAME}_hub    # The service will use this container name.
     volumes:                         # Give access to Docker socket.
       - /var/run/docker.sock:/var/run/docker.sock
+      - ./jupyterhub/jupyterhub_config.py:/srv/jupyterhub/jupyterhub_config.py
     environment:                     # Env variables passed to the Hub process.
       DOCKER_JUPYTER_IMAGE: rstudio_img
       DOCKER_NETWORK_NAME: ${COMPOSE_PROJECT_NAME}_default
diff --git a/jupyterhub-rstudio/jupyterhub/Dockerfile b/jupyterhub-rstudio/jupyterhub/Dockerfile
index 16084e2607065484a6b2298fd7c0563ae1e1ad5a..54d7708d88f6eefd10ac23970950c71cf46a46ee 100644
--- a/jupyterhub-rstudio/jupyterhub/Dockerfile
+++ b/jupyterhub-rstudio/jupyterhub/Dockerfile
@@ -1,9 +1,6 @@
 # Do not forget to pin down the version
 FROM jupyterhub/jupyterhub:3.0.0
 
-# Copy the JupyterHub configuration in the container
-COPY jupyterhub_config.py .
-
 # Download script to automatically stop idle single-user servers
 # RUN wget https://raw.githubusercontent.com/jupyterhub/jupyterhub/0.9.3/examples/cull-idle/cull_idle_servers.py