mirror of
https://github.com/garrytan/gstack.git
synced 2026-05-06 13:45:35 +02:00
43708fd088
Supabase migration 004 creates: - pr-screenshots storage bucket (private, service_role read) - screenshots table with RLS (auth insert, public read metadata) - device_codes table for RFC 8628 auth flow (service_role only) - pg_cron cleanup for expired codes and orphan screenshots Also adds GSTACK_WEB_URL to config.sh for gstack.gg integration. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
14 lines
537 B
Bash
14 lines
537 B
Bash
#!/usr/bin/env bash
|
|
# Supabase project config for gstack telemetry
|
|
# These are PUBLIC keys — safe to commit (like Firebase public config).
|
|
# RLS policies restrict what the anon/publishable key can do (INSERT only).
|
|
|
|
GSTACK_SUPABASE_URL="https://frugpmstpnojnhfyimgv.supabase.co"
|
|
GSTACK_SUPABASE_ANON_KEY="sb_publishable_tR4i6cyMIrYTE3s6OyHGHw_ppx2p6WK"
|
|
|
|
# Telemetry ingest endpoint (Data API)
|
|
GSTACK_TELEMETRY_ENDPOINT="${GSTACK_SUPABASE_URL}/rest/v1"
|
|
|
|
# gstack.gg web app (auth + screenshot upload)
|
|
GSTACK_WEB_URL="https://gstack.gg"
|