This commit is contained in:
hailin 2025-05-18 20:13:55 +08:00
parent 47c41a2d58
commit 72dd392464
4 changed files with 3 additions and 2 deletions

View File

@ -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 ====================================================

View File

@ -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

View File

@ -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: