Skip to content

Dockerize simple apps using NodeJS, NGINX, and PM2 process manager for production Node.js applications.

Notifications You must be signed in to change notification settings

tiotobing/Docker-NodeJS-NGINX-PM2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker-NodeJS-NGINX-PM2

Dockerize simple apps using NodeJS, NGINX, and PM2 process manager for production Node.js applications.

Installation

  • clone project
  • cd Docker-NodeJS-NGINX-PM2
  • edit Dockerfile, if you have PM2 credential add to Dockerfile but feel free to remove PM2 cred if not desired
  • on nginx/defauld.conf, add your domain/IP addr

Usage

docker-compose up -d --build

Useful Commands

$ docker exec -it <container-id> pm2 monit

$ docker exec -it <container-id> pm2 list

$ docker exec -it <container-id> pm2 show

$ docker exec -it <container-id> pm2 reload all 	 

About

Dockerize simple apps using NodeJS, NGINX, and PM2 process manager for production Node.js applications.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published