postgres icon indicating copy to clipboard operation
postgres copied to clipboard

How to upgrade self-hosted project

Open hamanuha opened this issue 11 months ago • 1 comments

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.

hamanuha avatar Mar 17 '24 11:03 hamanuha