In CI I am running fly proxy to run DB migrations but when the development postgres cluster has scaled to 0 I get
host was not found in DNS
Which technically makes sense, once I actually move the system over I will be using an HA cluster and this won’t be an issue but for now is there anything I can do to work around this?
You could make an http to your app to wake it up before fly proxy. But you shouldn’t do migrations like that, it should be integrated into your app’s bootup lifecycle, my 2c.