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
That looks good now. Your
servershould be running 24/7 (you may want toprocess.exit(0)after your worker finishes and use themachine APIto wake it up to save money).The
uiapps will auto shutdown, which is whathas excess capacity, autostopping machineis saying.The healthchecks are good now right? I see the green dot.