From 05453677ad42aff15e3f23cd3ba7c39a3466688f Mon Sep 17 00:00:00 2001 From: Stan Girard Date: Fri, 1 Dec 2023 21:48:32 +0100 Subject: [PATCH] docs(supabase): local updated with env --- docs/docs/Developers/selfHosted/run_fully_local.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/docs/Developers/selfHosted/run_fully_local.md b/docs/docs/Developers/selfHosted/run_fully_local.md index a21dd3de5..c12ac2ce2 100644 --- a/docs/docs/Developers/selfHosted/run_fully_local.md +++ b/docs/docs/Developers/selfHosted/run_fully_local.md @@ -48,6 +48,15 @@ Are you there ? Good. `docker-compose up -f docker-compose.supabase.yml up --build` +Dont forget to change the variables in backend/.env to match your local supabase instance: +- SUPABASE_URL +- SUPABASE_SERVICE_KEY +- JWT_SECRET_KEY + +And in the frontend/.env: +- NEXT_PUBLIC_SUPABASE_URL +- NEXT_PUBLIC_SUPABASE_ANON_KEY + Troubleshooting: - If the Quivr backend container cannot reach Supabase on port 8000, change the Quivr backend container to use the host network.