Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt
Create free AWS Account at https://aws.amazon.com/
I would be creating a t2.medium ubuntu machine for this demo.
Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt
Create free AWS Account at https://aws.amazon.com/
I would be creating a t2.medium ubuntu machine for this demo.
| FROM ubuntu | |
| RUN apt-get update | |
| RUN apt-get install -y curl | |
| RUN curl -sL https://deb.nodesource.com/setup_18.x | bash - | |
| RUN apt-get upgrade -y | |
| RUN apt-get install -y nodejs | |
| COPY package.json package.json | |
| COPY package-lock.json package-lock.json |
Video Link: Apache Kafka Crash Course | What is Kafka?