add second web server, work around docker compose bug

This commit is contained in:
AlecM33
2024-03-04 20:39:11 -05:00
parent 5573313b70
commit 1b24d61091
7 changed files with 27 additions and 13 deletions

View File

@@ -51,6 +51,14 @@ Instances of this app are part of a stateless architecture that scales up and do
### Running Locally
#### Using Docker
If you have Docker Desktop installed, running `docker compose up` will spin up, by default, two
web servers and one redis server for them to connect to. The app can then be accessed at `localhost:5000`
or `localhost:5001`. Otherwise, read below for setup that does not use Docker.
#### Without Docker
The entrypoint for the application is `index.js` at the root.
Before starting the Node.js server, you'll need a Redis server running locally on the default port. This is what's used