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:
parent
c02a505d5b
commit
691815382b
2
.env
2
.env
@ -39,7 +39,7 @@ DATA_VOLUME_CONTAINER=/data
|
|||||||
DB_VOLUME_HOST=jupyterhub-db-data
|
DB_VOLUME_HOST=jupyterhub-db-data
|
||||||
|
|
||||||
# Postgres volume container mount point
|
# 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
|
# The name of the postgres database containing JupyterHub state
|
||||||
POSTGRES_DB=jupyterhub
|
POSTGRES_DB=jupyterhub
|
||||||
|
Loading…
Reference in New Issue
Block a user