From 72dd392464804e1a64d26bc06bd9b2e76bd60235 Mon Sep 17 00:00:00 2001 From: hailin Date: Sun, 18 May 2025 20:13:55 +0800 Subject: [PATCH] . --- Dockerfile | 2 +- supabase/gotrue/wrapper.sh | 1 + supabase/kong/{kong_org.yml => kong copy.yml} | 0 supabase/kong/kong.yml | 2 +- 4 files changed, 3 insertions(+), 2 deletions(-) rename supabase/kong/{kong_org.yml => kong copy.yml} (100%) diff --git a/Dockerfile b/Dockerfile index 7bb5ca0..bd85afb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -83,7 +83,7 @@ RUN make deps COPY auth_v2.169.0/. /go/src/github.com/supabase/auth # Make sure you change the RELEASE_VERSION value before publishing an image. -RUN GO111MODULE=on CGO_ENABLED=0 GOOS=linux RELEASE_VERSION=unspecified make build +RUN GO111MODULE=on CGO_ENABLED=0 GOOS=linux RELEASE_VERSION=v2.169.0 make build #============================================ postgres ==================================================== diff --git a/supabase/gotrue/wrapper.sh b/supabase/gotrue/wrapper.sh index 9c1519e..7f57a16 100644 --- a/supabase/gotrue/wrapper.sh +++ b/supabase/gotrue/wrapper.sh @@ -19,6 +19,7 @@ export DATABASE_URL="postgres://supabase_auth_admin:postgres@localhost:5432/post export API_EXTERNAL_URL="http://localhost:8000/auth/v1" export GOTRUE_API_HOST=127.0.0.1 export PORT=9999 +export GOTRUE_EXTERNAL_EMAIL_ENABLED=true # 启动 GoTrue(路径视你 build 的二进制实际位置) exec /usr/local/bin/auth diff --git a/supabase/kong/kong_org.yml b/supabase/kong/kong copy.yml similarity index 100% rename from supabase/kong/kong_org.yml rename to supabase/kong/kong copy.yml diff --git a/supabase/kong/kong.yml b/supabase/kong/kong.yml index d917a2d..b997c64 100644 --- a/supabase/kong/kong.yml +++ b/supabase/kong/kong.yml @@ -21,7 +21,7 @@ services: url: http://127.0.0.1:9999/ routes: - name: auth-v1-all - strip_path: true + strip_path: false paths: - /auth/v1/ plugins: