From 9341e92b47c337de8f6576bfc2fa6f7fa5382a86 Mon Sep 17 00:00:00 2001 From: Adam Skalicky Date: Tue, 18 Nov 2025 12:58:10 -0800 Subject: [PATCH] Update env-configuration.mdx Added note about SSM and Compose escaping the quotes. --- docs/getting-started/env-configuration.mdx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/getting-started/env-configuration.mdx b/docs/getting-started/env-configuration.mdx index 1af1ff07..277cb718 100644 --- a/docs/getting-started/env-configuration.mdx +++ b/docs/getting-started/env-configuration.mdx @@ -4472,6 +4472,11 @@ This option has no effect if `WEBSOCKET_SENTINEL_HOSTS` is defined. - Default: `{}` - Description: A string representation of a dictionary containing additional Redis connection options for the websocket Redis client. This allows you to specify advanced connection parameters such as SSL settings, timeouts, or other Redis client configurations that are not covered by the standard `WEBSOCKET_REDIS_URL`. The string should be formatted as a valid Python dictionary. For example: `{"retry_on_timeout": true, "socket_connect_timeout": 5, "socket_timeout": 5, "max_connections": 8}`. All JSON encodable options listed [here] (https://redis.readthedocs.io/en/stable/connections.html) can be used. +:::warning + +**AWS SSM and Docker compose cannot ingest raw JSON, as such you need top escape any double quotes like the following:** +`{\"retry_on_timeout\": true, \"socket_connect_timeout\": 5, \"socket_timeout\": 5, \"max_connections\": 8}` + #### `WEBSOCKET_SERVER_LOGGING` - Type: `bool`