rooteco / tweetscape

the supercharged twitter feed
https://prototype.tweetscape.co
GNU Affero General Public License v3.0
18 stars 2 forks source link

Use tweetscape-pg.internal address for pgbouncer #346

Closed nicholaschiang closed 2 years ago

nicholaschiang commented 2 years ago

Imported from @nicholaschiang's original Linear issue TS-59.

Currently, I had to set the DB_HOST to the actual IPv6 private network address of the tweetscape-pg.internal Fly app. This isn't ideal as it doesn't give as much flexibility to Fly when it comes to app deployments, IP address allocation, etc.

See: https://community.fly.io/t/how-to-setup-and-use-pgbouncer-with-fly-postgres/3035/2