From 5448dc421bed9abab1f4f2de63a345a0abce1073 Mon Sep 17 00:00:00 2001 From: hailin Date: Sun, 18 May 2025 20:52:06 +0800 Subject: [PATCH] . --- supabase/gotrue/wrapper.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/supabase/gotrue/wrapper.sh b/supabase/gotrue/wrapper.sh index af31a6c..3b7a485 100644 --- a/supabase/gotrue/wrapper.sh +++ b/supabase/gotrue/wrapper.sh @@ -1,6 +1,8 @@ #!/bin/bash set -euo pipefail +/bin/bash /supabase/chatai-ui/init.sh + echo "[gotrue] Waiting for PostgREST on localhost:3000..." # 等待 postgrest 启动就绪 @@ -22,6 +24,7 @@ export PORT=9999 export GOTRUE_EXTERNAL_EMAIL_ENABLED=true export GOTRUE_MAILER_AUTOCONFIRM=true export GOTRUE_MAILER_EXTERNAL_HOSTS=127.0.0.1 +export GOTRUE_JWT_DEFAULT_GROUP_NAME=anon # 启动 GoTrue(路径视你 build 的二进制实际位置) exec /usr/local/bin/auth