bradtraversy / chatcord

Realtime chat app with rooms
1.17k stars 1.15k forks source link

Fix Redis, add Docker compose, show how to setup project in README.md #61

Open ragnarbull opened 11 months ago

ragnarbull commented 11 months ago

This PR adds a docker-compose.yml file to setup the Redis image in a Docker container among other things. Closes #55

Adds chained scripts to run the project and shut it down somewhat gracefully by using improved error handling for Redis (ie. once it is disconnected on docker-compose-down). There are 3 reconnect retries then the app is killed.

Also adds scripts for shutting down Redis and removing data from the Docker volumes.

Updated README.md to show the steps of how to setup the project (and link to setup Docker Desktop).

Testing: all app functionality works on localhost.

Haven't updated anything with Repl.it