{"repo":"steveholgado/nextjs-docker-pm2-nginx","free":true,"listed":false,"github":"https://github.com/steveholgado/nextjs-docker-pm2-nginx","clone":"git clone https://github.com/steveholgado/nextjs-docker-pm2-nginx.git","description":"Next.js with Docker, PM2 and NGINX","language":"Dockerfile","stars":306,"topics":["nextjs","docker","pm2","nginx"],"license":null,"category":"deployment-docker-iac","readme_excerpt":"Next.js with Docker, PM2 and NGINX This project is a production Docker setup for a Next.js app. The Next.js app is launched with PM2 Runtime, which is a Production Process Manager for Node.js applications and is used to keep the app alive forever. A second container with the NGINX web server is used as a reverse proxy, and to handle HTTP caching. Tutorial Follow a tutorial to build this application Docker Compose NGINX listens on port 80, which is the default HTTP port, so you can just visit http://localhost/ Without Docker Compose Next.js container is referenced inside NGINX container as nextjs . PM2 commands PM2 commands can still be used inside a container with the docker exec command:","default_branch":null,"files":null,"tree":[],"storefront":"/r/steveholgado","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/steveholgado/nextjs-docker-pm2-nginx/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}