Thanks, Jerome. I did some digging and see I can set the public address at app start when configuring the ratpack server...
RatpackServer.start(server -> server
.serverConfig(configBuilder -> configBuilder
.findBaseDir()
.publicAddress(buildPublicAddress())
)
I'll need to find an elegant way to do this as I don't want to reimplement all the default logic the InferringPublicAddress is providing (which is working correctly for local development). This is a little tricky as it seems like InferringPublicAddress only works at request time since it's inferred by the request, but the server hasn't started yet. I'll try a few things and if I don't find a good solution I'll follow up on a ratpack forum.
-Josh