
One VPS, Multiple Docker Apps: Domains and SSL with Traefik
Run Laravel and Next.js on one VPS with Docker, and let Traefik route each domain and issue Let's Encrypt SSL automatically, with no nginx configs.

Lead Software Developer
Lead software developer crafting reliable web apps with Laravel & Next.js. Writing practical tutorials along the way.

Run Laravel and Next.js on one VPS with Docker, and let Traefik route each domain and issue Let's Encrypt SSL automatically, with no nginx configs.

Run Next.js in Docker on cPanel and proxy your domain to it with .htaccess. Zero-downtime rollouts and GitHub Actions deploys, needing only SSH.

Deploy Laravel with Docker, Octane and FrankenPHP without dropping a request: health checks, one image for web, queue and scheduler, and a deploy script.

Self-hosted Next.js 16 keeps use cache in memory per container, so revalidateTag clears only one. Set up a shared Redis cache handler that fixes both.

Find what's eating your Ubuntu VPS disk, clean logs and Docker leftovers safely, enable unattended updates, and set a weekly routine that keeps it healthy.