-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Summary
Add a flatrun-agent setup CLI command that bootstraps infrastructure
(nginx, etc.) from embedded templates on first install.
Motivation
Currently the installer manually fetches templates via the API and
creates deployments. This requires a temporary API key, waiting for
the agent to be healthy, and multiple curl calls. A built-in setup
command would simplify installation and make the agent self-sufficient.
Proposed behavior
flatrun-agent setup --config /etc/flatrun/config.yml- Reads config to determine deployments path
- Deploys
infra/nginxtemplate (compose + config files) to
$DEPLOYMENTS_PATH/nginx/ - Runs
docker compose up -d - Idempotent — skips if already deployed
Context
Related installer issue to consume this once available.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels