Replies: 1 comment
-
|
The Dokploy Supabase template is just a starting A few things to make this safe and predictable: Update to a matched set, not one service at a time. Supabase builds and tests its self-host images together, and newer releases occasionally add required env vars — so don't cherry-pick versions. Take a consistent set from one release. Two good sources:
The current tested set is roughly: The companion services aren't pinned to the Postgres major version. Studio, GoTrue, PostgREST, Storage, meta and realtime all reach Postgres over the connection string, so they already work against your PG17 — updating them is about newer fixes/features, not a requirement of the upgrade itself. Before redeploying: pull the matching |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey everyone,
I deployed a Supabase stack a while ago using the official Dokploy template back when it defaulted to Postgres 15.
I recently upgraded the database. I went ahead and manually ran the official Supabase upgrade script (
utils/upgrade-pg17.sh) inside the volume's directory. The database successfully moved up to Postgres 17, and that part is working fine.However, the rest of my companion services (Studio, GoTrue, PostgREST, Storage, etc.) are still pinned to the old image tags from that original PG15-era template. I want to bring all those other services up to date with the latest template changes without accidentally breaking anything or screwing up my current PG17 setup.
What is the best way to handle this in Dokploy? Can I just pull the latest template changes, or do I need to manually adjust environment variables or configs so the updated services play nice with the new database?
Also, a quick question regarding backups: I noticed that when Dokploy runs its global backup, it already includes all the Supabase files and volumes. Is relying on Dokploy's built-in volume backup safe enough for a full restore, or should I explicitly set up a separate
pg_dumpscript for the database? I'm mostly worried about things like thepgsodiumencryption keys that live in the config volumes.Any advice or steps on how to handle this safely would be highly appreciated. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions