This commit is contained in:
hailin 2025-05-26 11:31:11 +08:00
parent 71f47a7539
commit b8bd679fe4
1 changed files with 3 additions and 2 deletions

View File

@ -6,11 +6,12 @@ export SERVER_PORT="5000"
export AUTH_JWT_SECRET="super-secret-jwt-token-with-at-least-32-characters-long"
export AUTH_JWT_ALGORITHM="HS256"
export DATABASE_URL="postgres://supabase_admin:postgres@127.0.0.1:5432/postgres"
export DATABASE_POOL_URL="postgresql://postgres:postgres@127.0.0.1:6432/postgres"
#export DATABASE_POOL_URL="postgresql://postgres:postgres@127.0.0.1:6432/postgres"
#export DB_INSTALL_ROLES="true"
export STORAGE_BACKEND="file"
export FILE_SIZE_LIMIT=52428800 # 50 * 1024 * 1024
export FILE_STORAGE_BACKEND_PATH="/var/lib/storage"
export DB_INSTALL_ROLES="false"
export DB_INSTALL_ROLES="true"
# 等待 gotrue 服务可用(健康检查)
echo "[storage-api] Waiting for GoTrue at /user..."