Commit Graph

4 Commits

Author SHA1 Message Date
Alex Vandiver
ff07aa7093 upgrade-postgresql: Fix ${} vs $() typo.
This caused a "Command not found" and no effective check on the
version of docker-compose.
2023-03-03 17:05:21 -08:00
Alex Vandiver
8823d783a4 upgrade-postgresql: Swap order of cleanup steps in trap.
We need to remove the container before removing the volume, otherwise
the cleanup will fail because the volume is in use.
2023-02-21 10:17:36 -08:00
Alex Vandiver
accea238ba upgrade-postgresql: Check the version of docker-compose first.
We use `docker-compose up --wait` which was introduced in
docker-compose version 2.1.1; check the version first.
2023-02-21 10:17:36 -08:00
Alex Vandiver
cd348fb093 postgresql: Add a script to upgrade PostgreSQL data.
This scripts the steps given in the upgrade documentation, altered for
supporting Docker managed volumes.
2022-11-28 23:17:05 -05:00