A simple chat demo for socket.io
docker build -t chat .
docker network create chatapp
docker run -d --net=chatapp --name redis redis
docker run -d --net=chatapp --name chat1 -p 3000:3000 -e "REDIS_ENDPOINT=redis" chat
And point your browser to http://localhost:3000
.
You can view a running copy of this app, deployed on AWS at: fargate.chat
Check out the accompaying articles on how this was built and deployed on AWS:
- Part One: Deploying to AWS Fargate
- Part Two: Making the application horizontally scale