Hey, @vicente,
I apologize for the delayed response!
So there’s two things you will need to do.
- Specify your internal port and protocol.
[[services]]
internal_port = 5432
protocol = "tcp"
- Specify the external port and handler.
# For secure connections
[[services.ports]]
handlers = ["tls"]
port = 443
# For insecure connections.
[[services.ports]]
handlers = []
port = 10000
Here’s a link to our configuration docs for more information:
https://fly.io/docs/reference/configuration/#the-services-sections
I hope that helps!