Giter Site home page Giter Site logo

eskiell / docker-nodejs-nginx-pm2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tiotobing/docker-nodejs-nginx-pm2

0.0 0.0 0.0 8 KB

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

JavaScript 24.55% Dockerfile 75.45%

docker-nodejs-nginx-pm2's Introduction

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 	 

docker-nodejs-nginx-pm2's People

Contributors

tiotobing avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.