Deploy with Fly.io
The fly.toml file should be in the deploy/fly directory of Supavisor.
Type the following command in your terminal:
1 | |
Choose a name for your app when prompted, then answer "yes" to the following question:
1 | |
Next, select an organization and choose a region. You don't need to deploy the app yet.
Since the pooler uses an additional port (7654) for the PostgreSQL protocol, you need to reserve an IP address:
1 | |
Set your app's secrets by running the following command:
1 2 3 4 5 | |
Replace the example values with your actual secrets.
Finally, deploy your app using the following command:
1 | |
This will deploy your app on Fly.io