Move Mountains With Next.js and Compose
summary
Claims Docker + Compose let a small team run over 100 websites from one Next.js codebase with fully reproducible dev and production images. Uses Next.js, Dockerfiles, Compose, Postgres and Nginx as a reverse proxy, plus DigitalOcean or similar for Docker hosts. Demonstrates monorepo with three apps on one port via Nginx, output standalone plus multi-stage builds to shrink production images ~85% (≈110 MB vs ~1 GB). Reports running 20 Next.js apps on a $40 droplet and 300+ day uptimes serving millions.
AI-written summary · about
chapters (11)
- 0:00Introduction to Docker
- 1:49Local development setup
- 3:33Understanding Docker files
- 5:49Docker compose explained
- 7:23Building a full stack app
- 8:51Monorepo and reverse proxy
- 11:01Configuring Nginx
- 12:12Production deployment
- 14:00Hosting solutions
- 14:56Limitations and advantages
- 16:47Conclusion and resources
related talks
20mHow to Build and Run Next.js Applications with Docker, Compose
09mBuild Projects 10x Faster with Next.js
50mDockerize it stop living in the past and embrace the future
29mDeveloping JS Applications Using Docker Containers
36mMicro Frontends in Action!
09mCollaborative Code with Nx and Next.js
45mDocker for dev
10mUnlocking Composable Content with the App Router
