🧙♂️🧙♂ 🧙♂ 🧙♂ NATS Configuration
Alternative to Redis, you may use NATS to communicate between node instances of soketi.
These environment variables work only when ADAPTER_DRIVER
is set to nats
.
Environment Variables
Name | Default | Possible values | Description |
---|---|---|---|
|
| Any string | The NATS adapter prefix. |
|
| Array in JSON-formatted string | The list of servers to connect to for NATS. |
|
| Any string | The user used to authenticate NATS requests. |
|
| Any string | The password used to authenticate NATS requests. |
|
| Any string | The JWT token used to authenticate NATS requests (as alternative to user and password). |
|
| Any number (milliseconds). | The connection timeout for NATS. |
|
| Any number (milliseconds). | The time to wait for cross-node requests. See |
Last updated