feat: scaffold supabase multi-tenant backend

This commit is contained in:
Codex
2026-06-21 21:54:43 +08:00
commit c9c767c7bd
99 changed files with 36660 additions and 0 deletions

55
supabase/config.toml Normal file
View File

@@ -0,0 +1,55 @@
project_id = "tiku-saas-local"
[api]
enabled = true
port = 54321
schemas = ["public", "storage", "graphql_public"]
extra_search_path = ["public", "extensions"]
max_rows = 1000
[db]
port = 54322
shadow_port = 54320
major_version = 15
[db.pooler]
enabled = false
port = 54329
pool_mode = "transaction"
default_pool_size = 20
max_client_conn = 100
[realtime]
enabled = true
[studio]
enabled = true
port = 54323
api_url = "http://127.0.0.1:54321"
[inbucket]
enabled = true
port = 54324
smtp_port = 54325
pop3_port = 54326
[storage]
enabled = true
file_size_limit = "100MiB"
[auth]
enabled = true
site_url = "http://127.0.0.1:5173"
additional_redirect_urls = ["http://127.0.0.1:5173", "http://localhost:5173"]
jwt_expiry = 604800
enable_refresh_token_rotation = true
refresh_token_reuse_interval = 10
enable_signup = true
[edge_runtime]
enabled = true
policy = "oneshot"
inspector_port = 8083
[analytics]
enabled = false