Try:
restart_limit = 5
Btw, DNS records for api.fly.dev
are empty (which apparently should be where your app api
should be, unless you’ve released public IPs fly allocates). See flyctl launch
.
$ curl api.fly.dev:8080 -v
* Uses proxy env variable no_proxy == 'localhost,127.0.0.0/8,::1'
* Could not resolve host: api.fly.dev
* Closing connection 0
curl: (6) Could not resolve host: api.fly.dev
$