Skip to content

Commit 6918153

Browse files
committed
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.
1 parent c02a505 commit 6918153

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ DATA_VOLUME_CONTAINER=/data
3939
DB_VOLUME_HOST=jupyterhub-db-data
4040

4141
# Postgres volume container mount point
42-
DB_VOLUME_CONTAINER=/var/lib/postgresql/data/jupyterhub
42+
DB_VOLUME_CONTAINER=/var/lib/postgresql/data
4343

4444
# The name of the postgres database containing JupyterHub state
4545
POSTGRES_DB=jupyterhub

0 commit comments

Comments
 (0)