I’m wondering if it’s possible to target multiple apps in a monorepo from a root fly.toml
file. I read through your experimental multi process feature. But I’m not sure if this feature is intended to solve this kind of problem or not. Maybe you can give some clarity on that.
Here’s my use case and what I wish to do (without creating a custom deploy script)
Let’s say I have the following monorepo structure
frontend/
Dockerfile
fly.toml
backend/
Dockerfile
fly.toml
workers/
Dockerfile
fly.toml
fly.toml
Is there a way I can have the root fly.toml
target each of the respective apps toml file on deploy? Almost as if the root config file could accepted an array of apps/builds, something like…
[[app]]
config = "frontend/fly.toml"
...
[[app]]
config = "backend/fly.toml"
...
[[app]]
config = "workers/fly.toml"
...