From 691815382be4471e9171e62e0762f9a5bbeecfb7 Mon Sep 17 00:00:00 2001 From: Damien L-G Date: Fri, 20 Oct 2017 17:04:33 -0400 Subject: [PATCH] Edit the mount point of the PostgreSQL database to match the VOLUME declaration in the official postgres image Dockerfile Otherwise docker-compose creates an unamed volume mounted at /var/lib/postgresql/data along with the jupyterhub-db-data volume. --- .env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.env b/.env index 2022656..f012497 100644 --- a/.env +++ b/.env @@ -39,7 +39,7 @@ DATA_VOLUME_CONTAINER=/data DB_VOLUME_HOST=jupyterhub-db-data # Postgres volume container mount point -DB_VOLUME_CONTAINER=/var/lib/postgresql/data/jupyterhub +DB_VOLUME_CONTAINER=/var/lib/postgresql/data # The name of the postgres database containing JupyterHub state POSTGRES_DB=jupyterhub