This commit is contained in:
parent
28cb6eb8a7
commit
235ca01257
|
|
@ -20,6 +20,8 @@ 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
|
||||
export GOTRUE_MAILER_AUTOCONFIRM=true
|
||||
export GOTRUE_MAILER_EXTERNAL_HOSTS=127.0.0.1
|
||||
|
||||
# 启动 GoTrue(路径视你 build 的二进制实际位置)
|
||||
exec /usr/local/bin/auth
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ services:
|
|||
url: http://127.0.0.1:9999/
|
||||
routes:
|
||||
- name: auth-v1-all
|
||||
strip_path: false
|
||||
strip_path: true
|
||||
paths:
|
||||
- /auth/v1/
|
||||
plugins:
|
||||
|
|
|
|||
Loading…
Reference in New Issue