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
Just in case this helps others. Adding
TEMPORAL_DEBUG=true
env var didn't make any difference, butLOG_LEVEL = 'debug'
(in fly.toml) made debug level messages show up. I've also had to comment outENV VISIBILITY_DBNAME=postgres
, so defaulttemporal_visibility
database is created. Without it, I was missing some visibility tables in thepostgres
DB.I have successfully started the server app (@khuezy you rock!). I've verified that the schema got provisioned in DB too. Just trying to figure out how to access UI at this point. I've assigned public IP to the app, but nothing comes up. I am sure it's me missing something. This is what I get: