Add AUTH_KEY to README examples
This commit is contained in:
parent
f7ed1fae6f
commit
753053d10a
@ -6,12 +6,12 @@ Server ID (`SERVER_ID`) and remote servers (`SERVERS`) are provided as environme
|
||||
|
||||
#### Server 1
|
||||
```bash
|
||||
SERVER_ID=1 SERVERS="2:localhost:4001" PORT=4000 mix run --no-halt
|
||||
SERVER_ID=1 SERVERS="2:localhost:4001" PORT=4000 AUTH_KEY=your_secret_shared_key mix run --no-halt
|
||||
```
|
||||
|
||||
#### Server 2
|
||||
```bash
|
||||
SERVER_ID=2 SERVERS="1:localhost:4000" PORT=4001 mix run --no-halt
|
||||
SERVER_ID=2 SERVERS="1:localhost:4000" PORT=4001 AUTH_KEY=your_secret_shared_key mix run --no-halt
|
||||
```
|
||||
|
||||
### Sending messages
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user