Kestra setup with Docker and Ansible workflows

Learn to deploy Kestra on Debian 13 with Docker Compose, build five-minute HTTP checks with email alerts, and run remote SSH provisioning commands.

Player not loading? Watch on YouTube

This sponsored LearnLinuxTV tutorial covers a self-hosted Kestra installation and infrastructure automation examples. The presenter describes Kestra as an open source workflow orchestration platform for scheduled tasks and responses to system events.

The demonstration uses two Debian 13 servers on Linode: one hosts Kestra, and the other receives remote commands. Mailgun supplies outbound email. The presenter says other hosting options and email providers can work, though viewers may need to adjust distribution commands and SMTP settings.

Setup starts with server updates, hostname configuration and a non-root user. The guide then installs Docker, downloads a Docker Compose configuration and enables basic authentication. The browser interface uses port 8080. The presenter keeps a default password for the isolated demonstration but recommends a randomly generated password for production.

The first flow checks a website every five minutes and sends email alerts for unsuccessful HTTP responses or connection errors. The dashboard walkthrough explains tasks, triggers and namespaces, then demonstrates AI Copilot generating a flow to check for tmux. Some interface sections require the enterprise edition.

The final example configures an Ed25519 SSH key and runs commands on the second server. Provisioning relies on the presenter's existing Ansible solution and internal bootstrap script; the tutorial does not build that solution from scratch.