cli
cli copied to clipboard
How to upgrade self-hosted project
Improve documentation
Link
https://supabase.com/docs/guides/self-hosting/docker
Describe the problem
It's not quite clear how to update/upgrade the postgres image to the newest version when doing self-hosting with docker.
Of course you can just change the used image in the compose file, but what has to be done apart from that?
What about the migrations in the migrations/db/migrations folder. Shouldn't these be run on every start of the container? So that new migrations are run on the current database.
It seems that the init scripts and migrations are only run on the first creation of the container if there is no data yet.
Describe the improvement
A guide that describes how to update/upgrade your self hosted Supabase postgres instance.
I am also interested in this👍🏼
also interested 👍
Also interested
Also interested!
Also interested
Coolify has an update button on its self hosted version. Something like this would be perfekt
This kind of thing should be properly documented.
I shared my own experience upgrading my self-hosted instance here https://github.com/supabase/supabase/issues/30834#issuecomment-2513954613 that works well if you don't have much data obviously.
Also interested