This is a simple chatroom webapp using NodeJS along with express, ejs and socket.io libraries.
- First of all you have to clone this repository on your server.
-$ mkdir -p ~/MyProjects
-$ cd ~/MyProjects
-$ git clone https://github.com/gregkoul/Dockerized-telsip-chat.git
OR via SSH
-$ git clone git@github.com:gregkoul/Dockerized-telsip-chat.git- Now you have to build the Docker Image locally.
-$ cd ~/MyProjects/Dockerized-telsip-chat
-$ docker build . -t telsip-chat:1.0- Now you have to spin up your container in detached mode.
-$ docker run -p 4000:4000 -d --name=chat -e PROTOCOL=http -e HOST=your.domain.gr -e PORT=4000 telsip-chat:1.0