ExAtlas.Application (ExAtlas v0.5.0)

Copy Markdown View Source

Supervision tree for ExAtlas.

ExAtlas spins up two independent sub-trees, each gated by configuration:

  • Orchestrator (opt-in via config :ex_atlas, start_orchestrator: true) — boots a Registry, a DynamicSupervisor, optional Phoenix.PubSub, and the Reaper that periodically reconciles tracked compute resources.

  • Fly platform ops (default on, disable via config :ex_atlas, :fly, enabled: false) — boots the token storage, token server, log streamer supervisor, and (when the dispatcher mode is :registry) a registry for log/deploy subscribers. Consumers that only call ExAtlas.Fly.Deploy.deploy/2 directly don't need any of this and can safely disable the tree.