From e18aeab6b5d3370535d4f418b07a4a9378931dd0 Mon Sep 17 00:00:00 2001 From: Pravin Pushkar Date: Mon, 28 Mar 2022 20:23:06 +0530 Subject: [PATCH] Using redislabs/rejson with query api Signed-off-by: Pravin Pushkar --- .../supported-state-stores/setup-redis.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daprdocs/content/en/reference/components-reference/supported-state-stores/setup-redis.md b/daprdocs/content/en/reference/components-reference/supported-state-stores/setup-redis.md index 08eeb5209..b5559986f 100644 --- a/daprdocs/content/en/reference/components-reference/supported-state-stores/setup-redis.md +++ b/daprdocs/content/en/reference/components-reference/supported-state-stores/setup-redis.md @@ -244,9 +244,9 @@ Consider the example from ["How-To: Query state"]({{< ref "howto-state-query-api {{< tabs "Self-Hosted" "Kubernetes" "Azure" "AWS" "GCP" "Redis Enterprise Cloud" "Alibaba Cloud" >}} {{% codetab %}} -If you are using a self-hosted deployment of Dapr v1.7 and up, a Redis instance with the required modules is automatically created as a Docker container when you run `dapr init`. +The Redis instance that gets created automatically with `dapr init` cannot be used with query api. +Use following command to create an instance of redis which can be used with query api: -Alternatively, you can create an instance of Redis by running the following command: ```bash docker run -p 6379:6379 --name redis --rm redislabs/rejson:2.0.6 ```