Tag

VPS

Your Backup Script Can Fail Silently — Here's How to Actually Find Out
· Asif Mughal · 72

Your Backup Script Can Fail Silently — Here's How to Actually Find Out

Restic backups fail silently more often than loudly — a flaky network, an expired token, a full disk — and cron won't tell you. Here's how to wire a self-hosted Healthchecks dead man's switch into a restic backup script, and the single setup mistake that quietly defeats the whole point.

Docker Won't Restart an "Unhealthy" Container — Here's What Actually Will
· Asif Mughal · 234

Docker Won't Restart an "Unhealthy" Container — Here's What Actually Will

Docker doesn't restart a container just because it's marked unhealthy — that's the single most common misconception in self-hosted Docker setups. Here's how healthchecks and restart policies actually relate, and the exact setup that makes a self-hosted app genuinely recover on its own.

Stop Exposing Port 22: SSH to Your VPS Over Tailscale Instead
· Asif Mughal · 229

Stop Exposing Port 22: SSH to Your VPS Over Tailscale Instead

Close port 22 to the public internet and SSH to your VPS only over your private Tailscale network instead. Setup steps, what it actually costs a solo developer (usually $0), and the single-point-of-failure trade-off worth planning for before you rely on it.

How to Host Multiple Apps on One VPS With Docker and Caddy
· Asif Mughal · 188

How to Host Multiple Apps on One VPS With Docker and Caddy

How to run several apps on a single cheap VPS using Docker and Caddy — shared network setup, working Caddyfile examples, free auto-renewing HTTPS per subdomain, and when label-based routing is worth the switch.