Since there were a few people asking how to setup Temporal on Fly.io, I'd thought this would be useful.
Disclaimer: I'm not a Fly nor Temporal expert (in fact I'm a big noob) so you'll have to forgive me. Any suggestions are welcome to improve these configs for others and myself.
Don't forget to add a private ip6 address:
fly ips allocate-v6 --private
This is required for the ui
app to connect to the server
via .flycast
When you launch a new app you can pass
--flycast
for it to automatically assign the private ip6. Once an app is launched, you don't need to create ips on deploy or scaling up.Regarding the failed health check, you'll need to filter by the
server
process to see what the error is. I'm guessing it's DB related.