Use Docker volume for postgres data?
Instead of storing the postgres database in the source directory, this uses an external Docker volume (created with docker volume create --name=pgdata
) to store the database.
Instead of storing the postgres database in the source directory, this uses an external Docker volume (created with docker volume create --name=pgdata
) to store the database.