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.
This commit is contained in:
Damien L-G 2017-10-20 17:04:33 -04:00
parent c02a505d5b
commit 691815382b

2
.env
View File

@ -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