Configure External PostgreSQL for Supabase Instead of supabase-db #33843
Unanswered
Bayireddy-Sai
asked this question in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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
external database?
instance?
Beta Was this translation helpful? Give feedback.
All reactions