Articles docker
TAG ARCHIVE

Everything on docker.

6 articles tagged docker, sorted newest first.

laravel

Deploy Laravel to a VPS with Kamal 2: A Complete Guide

Kubernetes is overkill and click-ops doesn't scale. Kamal 2 deploys a containerised Laravel app to a plain VPS over SSH, with zero-downtime cutover and automatic SSL from a single config file.

16 min read
devops

Run the Laravel Scheduler in a Docker Container the Right Way

The classic crontab line assumes a host cron that containers don't ship. Here are the two clean ways to run schedule:run in a container — supercronic and a Kubernetes CronJob.

7 min read
laravel

Laravel Health Checks for Kubernetes Readiness and Liveness Probes

Laravel's /up route only proves the framework booted. Here's how to build readiness and liveness endpoints Kubernetes can actually trust: covering the database, Redis, queue, and disk.

8 min read
laravel

Dockerising Your Laravel App for Kubernetes: From Dockerfile to Running Pod

Take a Laravel app from Docker Compose to a running Kubernetes pod: covering the production Dockerfile, Nginx+PHP-FPM setup, and the K8s manifests you actually need.

8 min read
docker

Optimising Laravel Docker images with multi-stage builds

A single-stage Dockerfile for Laravel ends up with 800 MB+ images full of build tools you don't need in production. Multi-stage builds fix that: here's how.

7 min read
Sentry

Install Sentry Self-Hosted on EC2 with Docker, Forge & SSL

Step-by-step guide to deploy Sentry Self-Hosted on an AWS EC2 Ubuntu 24.04 server provisioned via Forge. Configure Docker, swap, SSL with Nginx, MaxMind GeoIP, Slack & GitHub integrations, Mailgun SMTP, Laravel backend + browser tracing, and connect GitHub Copilot via Sentry’s MCP server. Includes troubleshooting.

11 min read