Tutorials

Tutorial

Self-Host Langfuse on a VPS for LLM Observability

Deploy Langfuse v3 with Docker Compose on your own VPS. Trace LLM calls, track costs, run automated evaluations with DeepEval, and wire quality gates into your CI/CD pipeline.

11 min readRead
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

Self-Host Plausible Analytics on a VPS with Docker Compose

Deploy Plausible Community Edition on your VPS with Docker Compose. Full lifecycle guide covering setup, tracking integration, custom events, backups, and updates.

12 min readRead
Tutorial

Self-Host SigNoz or OpenObserve on a VPS: Datadog Alternatives Compared

Install both SigNoz and OpenObserve on a single VPS using Docker Compose. Compare real resource usage, features, and production hardening to pick the right Datadog alternative.

15 min readRead
Tutorial

Centralized Log Management with Grafana Loki on a VPS

Deploy Grafana Loki, Promtail, and Grafana via Docker Compose on a single VPS. Collect systemd, Docker, and Nginx logs, query them with LogQL, and configure retention for production use.

20 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

Build a Self-Healing VPS with Prometheus and Ollama

Wire Prometheus alerts to a local LLM that diagnoses failures and executes safe remediation actions on your VPS. Full working code with allowlists, dry-run mode, and human approval controls.

12 min readRead
Tutorial

Self-Host Immich on a VPS with Docker Compose

Deploy Immich on a VPS as a self-hosted Google Photos replacement. Covers Docker Compose setup, mobile app backup, storage planning with real numbers, machine learning on CPU, database backup and restore, and a safe update workflow.

15 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

Backup and Update n8n in Production (Docker Compose + PostgreSQL)

A day-two operations guide for self-hosted n8n: automated PostgreSQL backups, encryption key protection, off-server copies with rclone, disaster recovery from a fresh VPS, safe Docker Compose updates, rollback, and the 1.x to 2.x migration path.

12 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

Self-Host Paperless-ngx on a VPS with Docker Compose

Deploy Paperless-ngx on a VPS with Docker Compose, PostgreSQL, and Redis. Configure OCR languages and modes, set up automatic tagging rules, email consumption, and a production backup strategy with offsite sync.

12 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

Build AI Workflows in n8n with Ollama and Claude on a VPS

Connect n8n to AI models through two paths: Ollama for free local inference and the Claude API for cloud intelligence. Build a content classification workflow with both, running on a self-hosted VPS.

13 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

Install n8n with Docker Compose on a VPS

Set up n8n 2.x with Docker Compose and PostgreSQL on a VPS. Production-ready from the start with pinned versions, encryption key backup, health checks, and resource limits.

8 min readRead