Currently it seems that there’s no way to configure fly.toml
to make it only use 1 machine instead of the minimum 2.
Is there a way to do it? Or do we have to always do this manually by stopping the machine after creation?
Currently it seems that there’s no way to configure fly.toml
to make it only use 1 machine instead of the minimum 2.
Is there a way to do it? Or do we have to always do this manually by stopping the machine after creation?
Hi… There’s no way to do so in fly.toml
, although many people have asked for that to be extended into a unified “one stop shop” for all configuration—declarative style.
What you can do instead is pass the --ha=false
flag to fly deploy
and/or fly launch
; that will at least save you the stop
/destroy
step…
--ha Create spare machine that increases app availability (default true)
(I.e., “no spare” = just one Machine.)
Hope this helps a little!
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.