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
Nice! Glad you got the server figured out. For the UI... the example above intentionally does not expose the
ui
app publicly, as that would be a bad idea. What you should do is create an nginx app that proxies to theui
app via.flycast
via server name, egtempralui.example.com
.Then the entry point to that address would be via CDN (Cloudflare) protected by IP whitelist. Or you can basic-auth protect it directly in your nginx config.