FeatureFuel
3

Configure External PostgreSQL for Supabase Instead of supabase-db

Source: supabase/supabase#33843 · opened by @Bayireddy-Sai
I am trying to configure Supabase to use an external PostgreSQL database instead of the default supabase-db (the internal PostgreSQL instance managed by Supabase). Currently, Supabase uses an internal PostgreSQL database (supabase-db), but I need to connect it to an externally managed PostgreSQL instance for better scalability and control. Changes I Have Made: I have set up an external PostgreSQL instance and created a new database (supabase_db) with the necessary Supabase-related roles (supabase_admin, authenticator, anon, service_role, etc.). I updated the docker-compose.yml file to replace supabase-db with my external database connection string: environment: DB_URI: "postgresql://supabase_admin:your_password@your_external_host:5432/supabase_db" after updating db, I facing an issue with schema migrations 1. Is there an official guide or best practice for using an external PostgreSQL database with Supabase? 2. Are there any additional con…

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests