Socket.IO Chat with traefik & redis
A simple chat demo for Socket.IO
Install Docker Compose, then:
$ docker-compose up -d
And then point your browser to http://localhost:3000
.
You can then scale the server to multiple instances:
$ docker-compose up -d --scale=server=7
The session stickiness, which is required when using multiple Socket.IO server instances, is achieved with a cookie. More information here.