From e9c32c62f03f214f38c1faae5deb7d3fd7d79140 Mon Sep 17 00:00:00 2001 From: Oleksii Sholik Date: Sat, 2 Dec 2023 23:17:15 +0200 Subject: [PATCH] chore(docs): Rename ELECTRIC_INBOUND_MODE in Supabase docs (#718) --- docs/integrations/deployment/supabase.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/integrations/deployment/supabase.md b/docs/integrations/deployment/supabase.md index e20b245839..3fbd03808f 100644 --- a/docs/integrations/deployment/supabase.md +++ b/docs/integrations/deployment/supabase.md @@ -61,7 +61,7 @@ Run your [Electric sync service](../../api/service), either locally or [via one - set `AUTH_JWT_ALG` to `HS512` to enable secure auth mode with the right signing algorithm - set `AUTH_JWT_KEY` to the "JWT Secret" value you retrieved in step 3 above - set `DATABASE_URL` to the connection string you retrieved in step 2 above -- set `ELECTRIC_INBOUND_MODE` to `direct_writes` +- set `ELECTRIC_WRITE_TO_PG_MODE` to `direct_writes` - set `PG_PROXY_PASSWORD` to a secure password value and note it down Depending on how you run Electric these could be passed as arguments to Docker, set in a ENV file or entered into a managed host's dashboard. For example, to run Electric locally using Docker (replacing the `...` placeholder values with your specific values): @@ -71,7 +71,7 @@ docker run \ -e "AUTH_JWT_ALG=HS512" \ -e "AUTH_JWT_KEY=..." \ -e "DATABASE_URL=..." \ - -e "ELECTRIC_INBOUND_MODE=direct_writes" \ + -e "ELECTRIC_WRITE_TO_PG_MODE=direct_writes" \ -e "PG_PROXY_PASSWORD=..." \ -e "PG_PROXY_PORT=65432" \ -p 5133:5133 \