Deployments

Agents pushed to this hub via waffle deploy and running as Docker containers alongside the hub itself. Lifecycle actions act on the host's local Docker daemon.
{% if deployments %}
{{ deployments | length }} deployment{{ '' if deployments | length == 1 else 's' }}
{% endif %}
{% if deployments %}
{% for d in deployments %} {% endfor %}
Agent Status Image Last started Resources Env keys Actions
{{ d.name }} {{ d.status }} {% if d.last_error %}
{{ d.last_error }}
{% endif %}
{% if d.image_tag %}{{ d.image_tag.split(':')[-1] }}{% else %}—{% endif %} {% if d.last_started_at %}{{ d.last_started_at | time_span }}{% else %}—{% endif %} {{ d.memory }} · {{ d.cpus }} cpu {% if d.env_keys %} {{ d.env_keys | length }} key{{ '' if d.env_keys | length == 1 else 's' }} {% else %} none {% endif %} {% if d.status == 'running' %} {% elif d.status == 'stopped' %} {% elif d.status == 'failed' %} {% endif %}
{% else %}

No deployments yet

From an agent's project directory, run:

waffle deploy --hub {{ hub_url or 'https://your-hub' }}

See WAFFLE_DOCKER.md for prereqs and the per-agent workflow.

{% endif %}