Posts tagged with “Docker”
Reducing Docker deploy downtime for Laravel and FrankenPHP
Every docker compose up -d took my site down longer than I liked. Three fixes: bake caches into the image, do the volume setup once, and split the deploy so the old container keeps serving.
When restart: always isn't enough: making Compose stacks recover at boot
Restart policies only cover containers that have already started. When AppArmor blocked dockerd's default profile at boot, thirteen containers stayed down for four hours. Here's my fix.
Using a Tailscale exit node on a Docker host
How to stop a Tailscale exit node from breaking Docker container networking, using Linux policy routing and a small systemd unit to make the fix permanent.
Moving Mastodon to Docker Compose
I finally moved my Mastodon server to Docker. Here's the full migration: inventorying dependency versions, keeping config in git, and importing the postgres dump and redis snapshot.
A multi-stage Dockerfile for Laravel and FrankenPHP
A walkthrough of a four-stage Dockerfile that ships a lean Laravel 13 image on FrankenPHP, plus the entrypoint and Compose services to actually run it.