This commit is contained in:
parent
47c41a2d58
commit
72dd392464
|
|
@ -83,7 +83,7 @@ RUN make deps
|
||||||
COPY auth_v2.169.0/. /go/src/github.com/supabase/auth
|
COPY auth_v2.169.0/. /go/src/github.com/supabase/auth
|
||||||
|
|
||||||
# Make sure you change the RELEASE_VERSION value before publishing an image.
|
# 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 ====================================================
|
#============================================ postgres ====================================================
|
||||||
|
|
|
||||||
|
|
@ -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 API_EXTERNAL_URL="http://localhost:8000/auth/v1"
|
||||||
export GOTRUE_API_HOST=127.0.0.1
|
export GOTRUE_API_HOST=127.0.0.1
|
||||||
export PORT=9999
|
export PORT=9999
|
||||||
|
export GOTRUE_EXTERNAL_EMAIL_ENABLED=true
|
||||||
|
|
||||||
# 启动 GoTrue(路径视你 build 的二进制实际位置)
|
# 启动 GoTrue(路径视你 build 的二进制实际位置)
|
||||||
exec /usr/local/bin/auth
|
exec /usr/local/bin/auth
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ services:
|
||||||
url: http://127.0.0.1:9999/
|
url: http://127.0.0.1:9999/
|
||||||
routes:
|
routes:
|
||||||
- name: auth-v1-all
|
- name: auth-v1-all
|
||||||
strip_path: true
|
strip_path: false
|
||||||
paths:
|
paths:
|
||||||
- /auth/v1/
|
- /auth/v1/
|
||||||
plugins:
|
plugins:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue