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 step
2
, I don't think those are the correct env variables for temporal. It should be:There isn't
DATABASE_URL
, and that should only contain[db-app-name].flycast:5432
For step
3
, you don't need to pass in--flycast
. You only need to set that up when you launch your app for the first time.