Upgrading PeerTube



My notes for upgrading dockerised PeerTube

Backup the database

docker exec peertube-postgres-1 pg_dump -Fc -U peertube peertube > ~/backup/2023-03-31-peertube.dump
docker compose pull

Restart

docker compose down && docker compose up -d && docker compose logs --follow