#nextjs
1 post
- Next.js deploys with no downtime: from pm2 to Docker blue and green
A Next.js app deployed with pm2 by building on the server and restarting, and every deploy dropped requests. Here is the Docker blue and green setup that replaced it, the Next.js bug it nearly shipped, how I stress tested the switch, and when pm2 is still the better pick.