Translating a docker run command with ports to a Fly deployment

Hello! There’s some good discussion about this here: RabbitMQ on Fly not working?. I was able to get this working with your config except for having changed the order of the handlers, as below. I also made sure to have an IP allocated (v6, so free).

The summary is:

  • Handlers are executed in order, so you want handlers = ["tls", "http"] to first terminate TLS then handle HTTP.
  • Adding management.tcp.ip = :: to your prod.conf should enable you to do fly proxy 15672 and then visit http://localhost:15672 to reach the management console. Note: http, not https. This step isn’t necessary if you only want to be able to connect using the fly.dev URL.
2 Likes