Banya LabsBanya Labs/Automations/Coolify Autonomous Deployer & Runtime Sentinel
Back to all automations
Agentic DevOps / Infrastructure
Planned

Coolify Autonomous Deployer & Runtime Sentinel

Role: Autonomous Deployment & Runtime Verification Agent

Protocol & Health Status

Zero Runtime Errors

Operational Overview

Inspects Coolify server topology, safely provisions apps and port mappings, triggers builds, and executes an automated test/sentinel loop until runtime stability is verified.

An iterative agent designed to bridge the gap between building an image and verifying production stability: Topology Audit: Interrogates Coolify instances via REST API to discover allocated host ports, existing reverse-proxy domains, and resource limits. Target Profiling: Inspects the codebase (Dockerfile, Nixpacks, package.json, compose) to identify internal listening ports, runtime commands, and required env vars. Provisioning & Deployment: Configures app settings, safe port mappings, and triggers the deployment pipeline. Runtime Sentinel Loop: Operates in an iterative retry/evaluation loop. Runs synthetic HTTP smoke tests, monitors public endpoints, and actively tails container logs for 60–120s to trap unhandled promise rejections, fatal panics, database connection errors, or OOM (SIGKILL 137) events. Re-evaluates and remediates until the app is confirmed healthy or halted safely.

PIPELINE CONSOLE

Live Execution Steps

>Audit Coolify server topology, used host ports, and existing proxy domains.
>Profile repository for build pack type, internal port, and environment dependencies.
>Generate non-colliding port/domain strategy and configure application via Coolify API.
>Trigger build and deployment, monitoring API status until container launch.
>Execute synthetic HTTP probes against public endpoint with exponential backoff.
>Sentinel Loop: Tail container logs for 60-120s to detect unhandled exceptions, OOM, or 5xx crashes.
>Remediate or iterate until runtime health criteria are fully met.

Key Integration Benefits

  • Zero Port Collisions: Automatically prevents port mapping conflicts across multi-container setups.
  • Runtime Truth: Catches runtime panics and fatal boot errors that slip past successful build phases.
  • Autonomous Verification Loop: Ensures deployments aren't marked complete until synthetic health checks pass.

Request Bot Integration

Configure integration parameters