#fly.io and flycast #
I've been working on some html -> markdown conversions with #elixir. It's been quite tricky to build a general-purpose utility for this, and so I've despaired by deciding to just do it with #deno. This means deploying a small deno app that accepts API requests from an elixir app. I don't want it on the public internet, and fly.io has a pretty simple way to support non-public facing apps that still benefit from fly proxy features, like auto-starting machines.
fly ips allocate-v6 --private
Now, from my other fly machines, I can simply make requests to
http://my-fly-app.flycast.
#finch vs ipv6 #
Blurgh, because these requests are on an #ipv6 private network, I had to swap out
#finch for #req, as there's no obvious way (to me) by which I can set finch's
connection options. I also had to revise the deno app to use :: as a host.