Add Redis info to README.md
This commit is contained in:
parent
4173ca0169
commit
5173b15c82
13
README.md
13
README.md
@ -134,6 +134,19 @@ unix domain socket.
|
|||||||
|
|
||||||
To access the server, go to http://localhost:3000 (or another port).
|
To access the server, go to http://localhost:3000 (or another port).
|
||||||
|
|
||||||
|
# Multiple Instances and Redis
|
||||||
|
|
||||||
|
Redis can be used to allow users connected to different instances to connect.
|
||||||
|
The following needs to be added to `config.yaml` to enable Redis:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
store:
|
||||||
|
type: redis
|
||||||
|
host: 127.0.0.1 # redis host
|
||||||
|
port: 6379 # redis port
|
||||||
|
prefix: peercalls # all instances must use the same prefix
|
||||||
|
```
|
||||||
|
|
||||||
# Logging
|
# Logging
|
||||||
|
|
||||||
By default, Peer Calls server will log only basic information. Client-side
|
By default, Peer Calls server will log only basic information. Client-side
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user