Skip to content

Commit

Permalink
Describe how to connect a Supabase source database
Browse files Browse the repository at this point in the history
  • Loading branch information
exAspArk committed Mar 4, 2024
1 parent f5eefc8 commit cf32167
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/docs/postgresql/source-database.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@ After that, you can enable selective tracking and pick which database tables you
You can specify the same regular database credentials you use to connect to PostgreSQL from your code.
And that's it, everything should just work!

#### Supabase

To connect Supabase PostgreSQL database, you need to:

1. Purchase a [dedicated IPv4](https://supabase.com/docs/guides/platform/ipv4-address) for $4 to resolve to the IPv4 address instead of the default IPv6
2. Untoggle "Use connection pooling" and use these connection details on Bemi to connect to the replication log

![](/img/perm-supabase.png)

### Read-only credentials

Alternatively, you can manually create read-only PostgreSQL database credentials to connect to the primary instance's WAL.
Expand Down
Binary file added docs/static/img/perm-supabase.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cf32167

Please sign in to comment.