$docker.recipes

## /blog

In-depth guides, tutorials, and opinions on Docker Compose, self-hosting, and DevOps — written from hands-on experience.

·12 min read·By Frank Pegasus
Self-Hosting Nextcloud with Docker Compose: Complete Setup Guide

A comprehensive guide to deploying Nextcloud with Docker Compose, including PostgreSQL, Redis, and production-ready configurations.

nextclouddocker-composeself-hostingpostgresql
·13 min read·By Frank Pegasus
Building a Disaster Recovery Plan for Your Docker Compose Infrastructure

Your server will fail eventually. A disaster recovery plan with tested backups, documented runbooks, and automated verification ensures you can recover in hours, not days.

backupdisaster-recoverydocker-composedevops
·13 min read·By Frank Pegasus
Authentik: A Full Identity Provider for Your Self-Hosted Stack

Go beyond basic authentication. Authentik provides SSO, OIDC, SAML, and LDAP for your self-hosted services — with a visual flow designer and Docker Compose deployment.

authentikssoidentitysecurity
·10 min read·By Frank Pegasus
Docker Compose Watch: Hot Reload for Container Development

Stop running docker compose build after every change. Compose Watch syncs files, rebuilds, and restarts containers automatically based on file changes.

docker-composedevelopmenthot-reloaddevops
·12 min read·By Frank Pegasus
Self-Hosted Automation with n8n and Docker Compose: Replace Zapier for Free

Automate workflows between your self-hosted services with n8n. Build integrations visually, trigger on webhooks, and run AI workflows — all on your own infrastructure.

n8nautomationself-hostingdocker-compose
·10 min read·By Frank Pegasus
Tailscale with Docker Compose: Secure Remote Access Without Port Forwarding

Access your Docker services from anywhere without opening ports. Use Tailscale as a sidecar container, subnet router, or with Funnel for public access.

tailscalevpnsecuritydocker-compose
·11 min read·By Frank Pegasus
Going Paperless: Document Management with Paperless-ngx and Docker Compose

Digitize and organize all your documents with Paperless-ngx. OCR, auto-tagging, full-text search — running on Docker Compose with PostgreSQL, Redis, and Tika.

paperless-ngxdocument-managementself-hostingdocker-compose
·9 min read·By Frank Pegasus
Docker Compose Profiles: Managing Optional Services Without Multiple Files

Stop maintaining separate docker-compose.override.yml files. Profiles let you group optional services and start only what you need with a single flag.

docker-composeprofilesdevelopmentdevops
·11 min read·By Frank Pegasus
Self-Hosting Your Own Git Server with Gitea or Forgejo

Run your own Git server with Gitea or Forgejo using Docker Compose. Private repos, built-in CI/CD, and only 50MB of RAM — a practical alternative to GitHub and GitLab.

giteaforgejogitself-hosting
·12 min read·By Frank Pegasus
Centralized Logging with Loki, Grafana, and Promtail in Docker Compose

Stop grepping through individual container logs. Set up a centralized logging stack with Loki, Promtail, and Grafana using Docker Compose — lightweight and production-ready.

logginglokigrafanamonitoring
·14 min read·By Frank Pegasus
Docker Desktop Alternatives: OrbStack, Podman, Colima, and More

Docker Desktop isn't the only option anymore. We compare OrbStack, Podman, Colima, and Rancher Desktop — with real benchmarks and practical migration tips.

dockerorbstackpodmancolima
·12 min read·By Frank Pegasus
Self-Hosting on a Raspberry Pi with Docker Compose: What Works and What Doesn't

A practical guide to running Docker Compose on a Raspberry Pi — which services run well, which struggle, and how to optimize for ARM and limited resources.

raspberry-piarmself-hostingdocker-compose
·11 min read·By Frank Pegasus
Docker Compose Performance Optimization: Faster Builds, Smaller Images, Better Caching

Practical techniques to speed up Docker Compose builds, reduce image sizes, and optimize container performance for production workloads.

dockerperformanceoptimizationdocker-compose
·9 min read·By Frank Pegasus
Building a Beautiful Home Lab Dashboard with Homepage

How to set up Homepage as a central dashboard for all your Docker services — with live widgets, Docker integration, and service health indicators.

homepagedashboardhomelabdocker-compose
·12 min read·By Frank Pegasus
Migrating Your Entire Docker Compose Stack to a New Server

A step-by-step playbook for moving all your Docker services, volumes, and configurations to new hardware with minimal downtime.

docker-composemigrationbackupdevops
·10 min read·By Frank Pegasus
Setting Up a Self-Hosted VPN with WireGuard and Docker Compose

Deploy your own WireGuard VPN server in 5 minutes with Docker Compose. Access your home network remotely and secure your traffic on public WiFi.

wireguardvpnsecuritynetworking
·11 min read·By Frank Pegasus
Caddy vs Traefik: Which Reverse Proxy for Your Docker Stack?

A head-to-head comparison of Caddy and Traefik for Docker Compose deployments, based on running both in production for over a year each.

caddytraefikreverse-proxydocker-compose
·12 min read·By Frank Pegasus
Secrets Management for Docker Compose in Production

Move beyond .env files: practical approaches to managing passwords, API keys, and certificates in Docker Compose deployments — from Docker secrets to external vaults.

secretssecuritydocker-composeproduction
·9 min read·By Frank Pegasus
Why LinuxServer.io Images Are the Gold Standard for Self-Hosting

What makes LinuxServer.io Docker images special, how to use PUID/PGID, and why they should be your first choice for self-hosted services.

linuxserverdockerself-hostingbest-practices
·9 min read·By Frank Pegasus
Setting Resource Limits in Docker Compose: CPU, Memory, and Storage

How to prevent one runaway container from taking down your entire server with proper resource limits, reservations, and ulimits.

docker-composeresourcesproductionperformance
·8 min read·By Frank Pegasus
Uptime Kuma: The Simplest Way to Monitor Your Docker Services

Set up Uptime Kuma in 2 minutes and get instant alerts when any of your self-hosted services go down. A practical guide to monitoring without the complexity.

uptime-kumamonitoringdocker-composealerts
·10 min read·By Frank Pegasus
Managing Dev, Staging, and Production with Docker Compose Overrides

How to use Docker Compose override files and profiles to manage multiple environments from a single codebase without duplicating configuration.

docker-composeenvironmentsdevopsconfiguration
·12 min read·By Frank Pegasus
Immich: The Self-Hosted Google Photos Replacement That Actually Works

A hands-on review of Immich after running it for a year — setup, migration from Google Photos, performance, and the features that make it worth the switch.

immichphotosself-hostinggoogle-photos
·13 min read·By Frank Pegasus
Debugging Docker Compose: A Practical Troubleshooting Guide

The systematic approach to diagnosing and fixing common Docker Compose problems — from container crashes to networking issues to volume permission errors.

docker-composedebuggingtroubleshootinglogs
·11 min read·By Frank Pegasus
Exposing Docker Services Securely with Cloudflare Tunnels (No Port Forwarding)

How to make your self-hosted Docker services accessible from the internet without opening any ports on your router using Cloudflare Tunnels.

cloudflaretunnelsecuritynetworking
·10 min read·By Frank Pegasus
Docker Compose Health Checks and Startup Order Done Right

How to use health checks and depends_on conditions to ensure your services start in the correct order and recover gracefully from failures.

docker-composehealthchecksreliabilitybest-practices
·14 min read·By Frank Pegasus
Adding Single Sign-On to Your Docker Services with Authelia

How to protect all your self-hosted services behind a single login page using Authelia with Traefik — including 2FA and access control policies.

autheliassosecuritytraefik
·9 min read·By Frank Pegasus
Automatically Updating Docker Containers with Watchtower

How to set up Watchtower to keep your Docker containers up to date automatically — with strategies for safe updates and rollback options.

watchtowerdockerupdatesautomation
·11 min read·By Frank Pegasus
Docker Compose Environment Variables: The Complete Guide

Every method for passing environment variables to Docker Compose services — .env files, shell variables, env_file directive, and Docker secrets — with clear examples of when to use each.

docker-composeenvironment-variablesconfigurationsecrets
·14 min read·By Frank Pegasus
Running AI/ML Models Locally with Docker Compose

How to run large language models, image generators, and other AI tools on your own hardware using Docker Compose — with GPU passthrough and practical examples.

aimachine-learningllmdocker-compose
·13 min read·By Frank Pegasus
The Complete Guide to Docker Volumes and Data Persistence

Everything you need to know about Docker volumes, bind mounts, and tmpfs — with practical patterns for backing up, migrating, and managing persistent data.

dockervolumesdata-persistencestorage
·12 min read·By Frank Pegasus
Docker Networking Explained: Bridge, Host, and Overlay Networks

A clear explanation of Docker's networking modes with practical examples showing when to use each one in your Docker Compose configurations.

dockernetworkingbridgedocker-compose
·11 min read·By Frank Pegasus
How to Self-Host Your Own Email Server (And Why You Probably Shouldn't)

An honest look at self-hosting email: what's involved, the challenges of deliverability, and when it actually makes sense.

emailself-hostingmail-serverdocker
·11 min read·By Frank Pegasus
Setting Up CI/CD with Docker Compose for Side Projects

A lightweight CI/CD pipeline using Gitea, Drone CI, or GitHub Actions with Docker Compose — no Kubernetes required.

cicddocker-composegiteadevops
·12 min read·By Frank Pegasus
PostgreSQL vs MySQL vs MariaDB: Which Database for Your Docker Stack?

A practical comparison of the three most popular open source databases for Docker deployments, based on real-world performance and operational experience.

postgresqlmysqlmariadbdatabases
·15 min read·By Frank Pegasus
How to Use Traefik as a Reverse Proxy for Docker Services

A complete guide to setting up Traefik v3 with Docker Compose for automatic SSL, routing, and middleware — with practical examples for common services.

traefikreverse-proxyssldocker-compose
·13 min read·By Frank Pegasus
Backup Strategies for Self-Hosted Docker Services

A practical guide to backing up Docker volumes, databases, and configurations with automation scripts and off-site backup strategies.

backupdockerself-hostingdisaster-recovery
·10 min read·By Frank Pegasus
Migrating from Docker Run to Docker Compose: A Practical Guide

Step-by-step guide to converting your docker run commands into clean, maintainable Docker Compose files with real-world examples.

dockerdocker-composemigrationtutorial
·14 min read·By Frank Pegasus
How to Monitor Your Self-Hosted Services with Prometheus and Grafana

Set up professional-grade monitoring for your Docker containers using Prometheus, Grafana, and alerting — with practical dashboards you can use immediately.

monitoringprometheusgrafanadocker-compose
·15 min read·By Frank Pegasus
Docker Compose Security Checklist for Production

A practical security checklist for hardening your Docker Compose deployments, from basic hygiene to advanced network isolation techniques.

securitydocker-composeproductionhardening
·13 min read·By Frank Pegasus
The Best Open Source Alternatives to SaaS Tools You Can Self-Host

A curated list of open source alternatives to popular SaaS products, with honest assessments of what works well and what doesn't.

open-sourceself-hostingsaas-alternativesdocker
·16 min read·By Frank Pegasus
How to Set Up a Complete Home Lab with Docker Compose

A step-by-step guide to building a home lab that handles file storage, media streaming, password management, monitoring, and more — all with Docker Compose.

homelabdocker-composeself-hostingtutorial
·14 min read·By Frank Pegasus
Docker Compose vs Kubernetes: When to Use What

A practical comparison of Docker Compose and Kubernetes based on real-world experience. Learn which orchestration tool fits your project's actual needs.

docker-composekubernetesdevopsorchestration
·12 min read·By Frank Pegasus
Self-Hosting in 2025: Why More Developers Are Running Their Own Services

The self-hosting movement is accelerating. Here's why developers are ditching SaaS subscriptions and taking control of their data with Docker Compose.

self-hostingdockerprivacyhomelab