clarify different Redis URLs + add docs for Sentinel envs

This commit is contained in:
Jan Kessler 2025-03-24 20:50:19 +01:00
parent 05e3c8bddb
commit d9ba4f7923
No known key found for this signature in database
GPG Key ID: FCF0DCB4ADFC53E7

View File

@ -2238,11 +2238,38 @@ More information about this setting can be found [here](https://docs.sqlalchemy.
- Default: `redis`
- Description: Specifies the websocket manager to use (in this case, Redis).
#### `WEBSOCKET_REDIS_URL` (`REDIS_URL` exists for potential future use cases. In practice, it is recommended to set both.)
#### `WEBSOCKET_REDIS_URL`
- Type: `str`
- Default: `redis://localhost:6379/0`
- Description: Specifies the URL of the Redis instance for websocket communication.
- Description: Specifies the URL of the Redis instance for websocket communication. It is distinct from `REDIS_URL` and in practice it is recommend to set both.
#### `WEBSOCKET_SENTINEL_HOSTS`
- Type: `str`
- Description: Comma-separated list of Redis Sentinels for websocket. If specified, the "hostname" in `WEBSOCKET_REDIS_URL` will be interpreted as the Sentinel service name.
#### `WEBSOCKET_SENTINEL_PORT`
- Type: `int`
- Default: `26379`
- Description: Sentinel port for websocket Redis.
#### `REDIS_URL`
- Type: `str`
- Description: Specifies the URL of the Redis instance for app state.
#### `SENTINEL_HOSTS`
- Type: `str`
- Description: Comma-separated list of Redis Sentinels for app state. If specified, the "hostname" in `REDIS_URL` will be interpreted as the Sentinel service name.
#### `SENTINEL_PORT`
- Type: `int`
- Default: `26379`
- Description: Sentinel port for app state Redis.
### Proxy Settings