UPDATE: I confirm this post holds the answer to my question below… link.
TLDR;
- pull down the fly.toml using
fly config save --app <database-app-name>
- Edit fly.toml to include the external port
- Generate an external IP address using
fly ips allocate-v4
- get the postgres repo name and tag using
fly image show
- deploy using
fly deploy --image <repository>:<tag>
- connect to your database using the public IP and the port you configured in step 2.
I have a running postgres multi-region database. This was created following the instructions here
I want to expose a public port for an external service.
I have allocated a v4 IP address and pulled the fly.toml file using fly config save -a my-DB
I made the changes to add the service ports as described.
how do I deploy these changes ?
Thanks, Tom.