mirror of
https://github.com/AlecM33/Werewolf.git
synced 2025-12-26 15:57:50 +01:00
add second web server, work around docker compose bug
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user