Answering your questions in order:
-
We have a preview feature for running multiple processes as a logical grouping in an app, but it’s not really designed for this use case. That’s more for something like a web+worker scenario.
-
There’s no way to do this with
fly.toml
, but also something we’re thinking about. -
fly secrets import
will import key=value pairs fromstdin
, i.e.cat .env | fly secrets import
-
Many options in
fly.toml
can be overridden on the command line, such as env vars. That said, if you already env vars infly.toml
and try to usefly deploy -e
, a bug will get in your way.
Generally speaking, we plan to pull a good amount of config into fly.toml
but only after we migrate to some newer deployment plumbing we’re working on. Happy to expand on that if you’re interested. Stay tuned!