Add AUTH_KEY to README examples

This commit is contained in:
Broks Randolfs Gailītis 2025-08-20 14:05:40 +03:00
parent f7ed1fae6f
commit 753053d10a

View File

@ -6,12 +6,12 @@ Server ID (`SERVER_ID`) and remote servers (`SERVERS`) are provided as environme
#### Server 1 #### Server 1
```bash ```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 #### Server 2
```bash ```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 ### Sending messages