<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Cristian Rodriguez</title>
    <description>The latest articles on DEV Community by Cristian Rodriguez (@scriptman27).</description>
    <link>https://dev.to/scriptman27</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F687456%2F2cc17bd2-cc52-4e4a-b993-67a8d88c0abe.jpg</url>
      <title>DEV Community: Cristian Rodriguez</title>
      <link>https://dev.to/scriptman27</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/scriptman27"/>
    <language>en</language>
    <item>
      <title>Stop Wasting Hours: The Production-Ready Laravel 12 + Docker Starter Kit (CI/CD Included)</title>
      <dc:creator>Cristian Rodriguez</dc:creator>
      <pubDate>Sun, 24 May 2026 14:46:38 +0000</pubDate>
      <link>https://dev.to/scriptman27/stop-wasting-hours-the-production-ready-laravel-12-docker-starter-kit-cicd-included-463n</link>
      <guid>https://dev.to/scriptman27/stop-wasting-hours-the-production-ready-laravel-12-docker-starter-kit-cicd-included-463n</guid>
      <description>&lt;p&gt;Setting up a new Laravel project for production is always a headache. You need to configure Nginx, optimize PHP-FPM, set up Supervisor for your queue workers, and make sure your CI/CD pipeline doesn't break. &lt;/p&gt;

&lt;p&gt;Most Docker setups you find online are only meant for local development. When you try to push them to AWS, DigitalOcean, or a VPS, permissions break, and performance drops.&lt;/p&gt;

&lt;p&gt;I was tired of doing this manually for every project, so I built a production-grade boilerplate.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's Inside?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Multi-stage Dockerfile:&lt;/strong&gt; Optimized for lightweight and secure production images.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Supervisor Configured:&lt;/strong&gt; Ready to handle &lt;code&gt;queue:work&lt;/code&gt; and your Task Scheduler automatically.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Production Nginx:&lt;/strong&gt; Security headers and Gzip compression pre-configured.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GitHub Actions Pipeline:&lt;/strong&gt; Automatic testing (Pest/PHPUnit), code style checks (Pint), and static analysis (Larastan) on every Push/PR.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Quick Start (Up in 60 seconds)
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/script32/laravel-12-docker-ready-to-deploy.git
&lt;span class="nb"&gt;cd &lt;/span&gt;laravel-12-docker-production
&lt;span class="nb"&gt;cp&lt;/span&gt; .env.example .env
docker compose up &lt;span class="nt"&gt;-d&lt;/span&gt; &lt;span class="nt"&gt;--build&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  That's it! Your production-ready stack is live at localhost:8080.
&lt;/h2&gt;

&lt;p&gt;Open Source &amp;amp; Feedback&lt;br&gt;
This project is 100% open source. I’d love to hear your thoughts on the architecture, especially regarding the multi-stage build optimization!&lt;/p&gt;

&lt;h2&gt;
  
  
  Check out the repository here: &lt;a href="https://github.com/script32/laravel-12-docker-ready-to-deploy" rel="noopener noreferrer"&gt;https://github.com/script32/laravel-12-docker-ready-to-deploy&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;If this saves you a few hours of DevOps work on your next deploy, a star on the repo is highly appreciated to keep the project growing!&lt;/p&gt;

</description>
      <category>cicd</category>
      <category>docker</category>
      <category>laravel</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
