Hi, I just put up a rabbitmq image with the following config. The app has zero active connections but it doesn’t seem to turn off. I assume I’m missing something obvious, just looking for a pointer.
Okay I’m going to give up on this and start connecting to it now. But if anyone has any tips on how to get the initial machine to shutdown on zero connections please let me know
Your app has no exposed ports through the [[services.ports]] configuration option making it a private application. As such, Fly Proxy, the component in our infrastructure that automatically stops/starts app instances has no visibility of it nor of the request volume to the instance (communication over your internal 6PN network occurs outside of the proxy). If automatically stopping instances was enabled regardless, even if you had active connections over 6PN, the proxy wouldn’t know any better and would stop your instance.
One way around this is to add a port and communicate with the application over a Flycast address.