sdelements / lets-chat

Self-hosted chat app for small teams
http://sdelements.github.io/lets-chat
MIT License
9.77k stars 1.58k forks source link

High-Availability #683

Open jruels opened 8 years ago

jruels commented 8 years ago

Hello, I have deployed let's-chat using the Vagrantfile and through the all-in-one build script. I have tried creating a separate mongodb server with a letschat database, updating the config file to point to it instead of localhost, but the npm install fails.

Can someone please provide me steps for scaling lets-chat? I would like to scale the front end onto multiple servers and use haproxy as a LB. I would also like to have a separate server for mongodb so I can decouple the application layer from the database layer.

Thanks for the help!

bweston92 commented 8 years ago

As far as of the shelf solutions go you could use Docker-Swarm or Kubernetes #551