Skip to content

enhance: Use agent setup command for infrastructure deployment #1

@nfebe

Description

@nfebe

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions