Public | Automated Build

Last pushed: 3 months ago
Short Description
Docker chat using Node.JS and library
Full Description


Dockerized chat, based on my previous project SocketIOChatDemo, which is an example of a web application using library.

Following the Microservices architecture, the system consists on two services that run in separate containers:


Yo can find a demo, working here

Usage with git

$ git clone
$ cd docker-chat
$ docker-compose up
// connect in your browser to <host IP>:8080

Usage with Docker Hub

// run mongo service
$ docker run -v "$(pwd)"/database:/data --name mongo_chat_db -d mongo mongod --smallfiles
// run docker-chat image
$ docker run -d --name node_chat_server -v "$(pwd)"/database:/data --link mongo_chat_db:db -p 8080:4000 ageapps/docker-chat
// connect in your browser to <host IP>:8080


Docker Pull Command
Source Repository

Comments (0)