Tutorials

Tutorial

Self-Host Uptime Kuma and Beszel on a VPS with Docker Compose

Deploy Uptime Kuma for external uptime monitoring and Beszel for lightweight server metrics on a single VPS. Docker Compose setup with notifications, alerts, status pages, and security hardening.

15 min readRead
Tutorial

Docker Compose Resource Limits, Healthchecks, and Restart Policies

Your Compose file works in dev but is not production-ready. Learn how to add memory/CPU limits, healthchecks, restart policies, and startup ordering to protect your VPS from OOM kills and cascading failures.

12 min readRead
Tutorial

Docker Security Hardening: Rootless Mode, Seccomp, AppArmor on a VPS

Seven hardening layers for Docker on a VPS. Each section explains the threat, shows the fix with CLI and Compose syntax, and verifies it works.

14 min readRead
Tutorial

Self-Host Vaultwarden on a VPS with Docker Compose

Deploy a hardened Vaultwarden password manager on your VPS. Covers Docker Compose with read-only containers, fail2ban, SMTP for 2FA, backup and restore, and emergency access.

12 min readRead
Tutorial

Docker Update Strategy: Zero-Downtime Container Updates on a VPS

Four escalating methods to update Docker containers on a VPS, from simple pull-and-replace to zero-downtime blue-green deployments with Traefik. Covers image pinning, rollback procedures, Diun notifications, and docker-rollout.

11 min readRead
Tutorial

Self-Host Gitea on a VPS with Docker Compose

Deploy a production-ready Gitea instance with PostgreSQL, SSH passthrough on port 22, Gitea Actions CI/CD, Git LFS, GitHub mirroring, and automated backups. All on a single VPS with Docker Compose.

11 min readRead
Tutorial

Docker Volume Backup and Restore on a VPS

Three backup strategies for Docker volumes on a VPS: tar snapshots, database-native dumps, and automated encrypted backups with offen/docker-volume-backup. Includes cron scheduling, off-site S3 copies with rclone, and a full restore test on a fresh server.

12 min readRead
Tutorial

Docker Log Rotation: Stop Logs from Filling Your VPS Disk

Docker's default log driver stores unlimited data. A single busy container can fill a 50GB VPS disk in days. This tutorial configures global log rotation, per-service Compose overrides, automated cleanup, and disk usage monitoring.

10 min readRead
Tutorial

Secure Your AI Agent Server: Sandboxing, Firewalls, and Monitoring

AI agents execute arbitrary actions, consume unpredictable resources, and process untrusted input by design. This guide maps each threat to a concrete Linux control.

12 min readRead
Tutorial

Self-Host Hermes Agent on a VPS

Deploy Nous Research's Hermes Agent on your own VPS. Create a locked-down user, install with one command, pick your LLM provider, wire up Telegram, and run it as a service.

13 min readRead
Tutorial

Deploy OpenClaw Securely on a VPS

Install and lock down OpenClaw on a VPS with gateway authentication, TLS reverse proxy, Docker sandboxing, firewall hardening, and systemd isolation. Step-by-step with security hardening included.

14 min readRead
Tutorial

Fix Docker Bypassing UFW: 4 Tested Solutions for Your VPS

Docker manipulates iptables directly and ignores UFW rules. Your container ports are exposed to the internet even with ufw deny active. Here are four solutions with tradeoffs, each verified by scanning from an external host.

11 min readRead
Tutorial

Build Your First n8n Workflow: Webhooks, API Calls, and Notifications

Build two real n8n workflows from scratch on your self-hosted instance. A webhook that fetches weather data and sends it to Discord, and an RSS monitor that posts new articles to a channel.

14 min readRead
Tutorial

Docker Compose for Multi-Service VPS Deployments

Learn how to use Docker Compose to orchestrate multiple services on a single VPS.

1 min readRead