Connecting to Postgres Database from another Node Instance


I just followed steps to launch two postgres databases with from the following tutorial:

I created a React Remix application using the Blues Stack

Thus, I have a staging environment and a production environment ; that is, I have a staging postgres database and a production postgres database

However, I want to create a node instance / server using fly io where I can pull data from the web and insert into my staging and production postgres databases that are both currently located within

my question is the following:

do I need to create a docker container where I need to install wireguard so my node js fly application can connect to a postgres application on fly io?

Thanks for all your help in advance!

Hey, that sounds like a fun project! As long as your apps are all deployed in the same Fly organization, they can connect to each other.