fly_postgres_elixir icon indicating copy to clipboard operation
fly_postgres_elixir copied to clipboard

DB DNS URL config assumes running inside a Fly network

Open brainlid opened this issue 1 year ago • 0 comments

Currently, there is an implied dependence on Fly.io databases because of how the DNS is modified so a "nearest" database can found. This helps when an instance is auto-deployed to a backup region other than an expected region where a Postgres primary or replica database can be found.

Backup regions can be disabled, or limited to regions where there are databases present.

The goal with a change is to enable the library to work more easily outside of Fly.io networks.

brainlid avatar Nov 17 '22 00:11 brainlid