Some notes on upgrading PostgreSQL in Docker
Here are some quick notes from helping Jim upgrade his bava.tv Peertube instance from PostgreSQL 10 to PostgreSQL 13. bava.tv uses Docker so actually changing Postgres versions is dead simple (basically just edit a number in the docker-compose.yml file and restart the containers) but we found out pretty quickly that you can’t just change the version of Postgres, and expect the database to still work.
First I cloned the environment and added Adminer to the docker-compose.