This commit is contained in:
parent
235ca01257
commit
5448dc421b
|
|
@ -1,6 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
|
/bin/bash /supabase/chatai-ui/init.sh
|
||||||
|
|
||||||
echo "[gotrue] Waiting for PostgREST on localhost:3000..."
|
echo "[gotrue] Waiting for PostgREST on localhost:3000..."
|
||||||
|
|
||||||
# 等待 postgrest 启动就绪
|
# 等待 postgrest 启动就绪
|
||||||
|
|
@ -22,6 +24,7 @@ export PORT=9999
|
||||||
export GOTRUE_EXTERNAL_EMAIL_ENABLED=true
|
export GOTRUE_EXTERNAL_EMAIL_ENABLED=true
|
||||||
export GOTRUE_MAILER_AUTOCONFIRM=true
|
export GOTRUE_MAILER_AUTOCONFIRM=true
|
||||||
export GOTRUE_MAILER_EXTERNAL_HOSTS=127.0.0.1
|
export GOTRUE_MAILER_EXTERNAL_HOSTS=127.0.0.1
|
||||||
|
export GOTRUE_JWT_DEFAULT_GROUP_NAME=anon
|
||||||
|
|
||||||
# 启动 GoTrue(路径视你 build 的二进制实际位置)
|
# 启动 GoTrue(路径视你 build 的二进制实际位置)
|
||||||
exec /usr/local/bin/auth
|
exec /usr/local/bin/auth
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue