# ───────────────────────────────────────────────────────────────────────────── # hackerspace-management — environment variables # ───────────────────────────────────────────────────────────────────────────── # Copy this file to .env.local for development. For deployed environments, # set the same keys in the host dashboard (Vercel, DigitalOcean, etc). # .env.local is git-ignored. Never commit real secrets. # ───────────────────────────────────────────────────────────────────────────── # Supabase (required) # Project Settings → API in the Supabase dashboard. NEXT_PUBLIC_SUPABASE_URL=https://your-project-ref.supabase.co NEXT_PUBLIC_SUPABASE_ANON_KEY=eyJhbGciOi...replace-with-anon-key # Server-side admin key. Bypasses RLS. Required for createSpace / joinSpace. # Treat as a secret. Never expose to the browser. Never log it. SUPABASE_SERVICE_ROLE_KEY=eyJhbGciOi...replace-with-service-role-key # App URL (required) # Public-facing base URL of this deployment. Used in OAuth redirects. NEXT_PUBLIC_APP_URL=http://localhost:3000 # Node env (optional, defaults to "development" locally) NODE_ENV=development # Docker build flag (only when building the standalone image) # Set to "1" in the Dockerfile so next.config.mjs emits standalone output. # DOCKER_BUILD=1 # ───────────────────────────────────────────────────────────────────────────── # Per-space integration credentials (PayPal, Zeffy, Venmo, Stripe) # are stored in the database under the `integrations` table, not in env. # The /api/paypal/sync endpoint reads them from there. # ─────────────────────────────────────────────────────────────────────────────