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
For me it works only when I add
--flycastflag tofly deploy. Maybe because myfly launchuses the--build-onlyflag?Where would I find the log that would allow me to see the DB connection errors? When I do
fly logs -a [app-name]I only see the error related to the failed health check, nothing more on what could actually cause this check to fail.