Is it possible to migrate from built to pre-built image easily? Should I simply edit the file docker-compose.yml, run docker-compose build and then docker-compose up -d ?
Anything I should know before starting the upgrade/migration?
Most important is to keep your data intact. Make sure the same copy of PostgreSQL database is available, this is crucial. I would also make sure the Mastodon configuration is the same.
I would run the prebuilt image in the same folder than the current ‘self-built’ image, so, I assume it’ll use the same db (thanks to docker volumes) and configuration file. Is it correct?
According to the documentation, I should remove all build: . lines, and replace image: tootsuite/mastodonwith image: tootsuite/mastodon:lastest.
I don’t think I should modify the file .env.production as it already contains the settings and key for my currently running instance.
The documentation assumes that we use the prebuilt image for a new instance, but I’m not sure I can switch from a self -built image to a prebuilt.