Summary
Once flatrun/agent adds a setup CLI command, update the installer to
use it instead of manually copying template files and calling the API.
Current approach
The installer copies nginx template files to the deployments directory
and runs docker compose up -d directly.
Target approach
flatrun-agent setup --config /etc/flatrun/config.yml
Replace deploy_infrastructure() in lib.sh with a single call to
the agent's setup command.
Blocked by
Summary
Once flatrun/agent adds a
setupCLI command, update the installer touse it instead of manually copying template files and calling the API.
Current approach
The installer copies nginx template files to the deployments directory
and runs
docker compose up -ddirectly.Target approach
Replace
deploy_infrastructure()inlib.shwith a single call tothe agent's setup command.
Blocked by