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.
Comments
Similar requests
pgx-managed Postgres w/ wrappers behaved differently from locally-installed Postgres w/ wrappers
2 votes · 0 comments
Feature request: Support pg_orca (Cascades-style query optimizer) as an alternative PostgreSQL optimizer
1 vote · 0 comments
Add secret-safe temporary PostgreSQL access for MCP-managed branches
1 vote · 0 comments
Feature idea/request: native backup functionality for the PostgreSQL database
2 votes · 0 comments
Support for Custom PostgreSQL Extensions
7 votes · 0 comments
No comments yet.