Public | Automated Build

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

docker-chat

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

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

Demo

Yo can find a demo, working here

Usage with git

$ git clone https://github.com/ageapps/docker-chat
$ 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

Resources

Docker Pull Command
Owner
ageapps
Source Repository

Comments (0)